1. Overview
This document describes the resources that make up the Clinked API v2. If you have any problems or requests please contact Clinked support.
1.1. Schema
All API access is over HTTPS, and accessed from the https://api.clinked.com
. All data is sent and received as JSON.
Blank fields are included as null
instead of being omitted.
All timestamps are in milliseconds (UTC):
1518170699654
1.2. User agent
A client must provide a User-Agent
header that can help identify your application.
Here’s an example:
User-Agent: Awesome-App
1.3. Authentication
Authentication flow is based on OAuth2 with a few additional steps:
-
A client authenticates using static client id
clinked-mobile
and user credentials. -
Once authenticated, a client creates a new application using an access token from the previous step.
-
Once application is created, the API responds with a new randomly generated client id and client secret. These credentials need to be persisted to refresh access token in the future.
-
A client uses client id and client secret from previous step to authenticate.
The resulting access token is the one that is required to access API resources. Pass it in the Authorization
header for each request:
Authorization: Bearer 1da13d89-150c-4c4d-a1a3-36958a7cd551
See our Basics of authentication guide to get you started. |
Access token is temporary and available only for 30 minutes, after that the API will respond with 401 Unauthorized . If that’s the case a client should request a new one using same client id and client secret.
|
A user might revoke an application and the API will respond with 401 Unauthorized even when trying to refresh a token. In that case a user should be considered logged out.
|
1.3.1. Authenticating with user credentials
Parameter | Description |
---|---|
|
Client id. Always a static value for this grant type: |
|
Grant type |
|
Password |
|
Username |
|
Optional. Two-factor authentication code if required |
GET /oauth/token?client_id=clinked-mobile&grant_type=password&password=Aez1Ahr8Ji&username=jack&code=12345 HTTP/1.1
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/oauth/token?client_id=clinked-mobile&grant_type=password&password=Aez1Ahr8Ji&username=jack&code=12345' -i -X GET \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"access_token": "f3a5837f-7a28-4148-9352-336e0bca75a9",
"refresh_token": "e10560b0-9bdc-478e-a2dc-95009c419a40",
"scope": "read write",
"token_type": "bearer"
}
1.3.2. Creating an application
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device Firebase Cloud Messaging token for notifications |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
POST /v2/applications HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 307
{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7"
}
$ curl 'https://api.clinked.com/v2/applications' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1581
{
"id" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 500,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"clientId" : "79df4f5fb1e6437a36456aeea5bb5242",
"clientSecret" : "40a3d77b5ca14b1094619a3031149577",
"scope" : [ "read", "write", "smartsync" ],
"name" : "Awesome App",
"description" : "This is my awesome app",
"platform" : "ANDROID",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "Android",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7",
"lastActivity" : null,
"ip" : null,
"authorities" : [ {
"authority" : "ROLE_CLIENT"
}, {
"authority" : "READ"
}, {
"authority" : "WRITE"
}, {
"authority" : "SMARTSYNC"
} ],
"registeredRedirectUri" : [ ]
}
Fields are defined in Get single application |
1.3.3. Authenticating with client credentials
Parameter | Description |
---|---|
|
Client id |
|
Client secret |
|
Grant type |
|
Scope. Normally should be |
GET /oauth/token?client_id=5ad29f13-82b8-4b68-89e6-c2f4c96d5d9d&client_secret=0eda391b-0a88-46d2-aaaf-905332c19e20&grant_type=client_credentials&scope=read+write HTTP/1.1
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/oauth/token?client_id=5ad29f13-82b8-4b68-89e6-c2f4c96d5d9d&client_secret=0eda391b-0a88-46d2-aaaf-905332c19e20&grant_type=client_credentials&scope=read+write' -i -X GET \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"access_token": "2466f2ee-0875-41a1-ad6c-8f81468f47e9",
"token_type": "bearer",
"expires_in": 7199,
"scope": "read write"
}
1.4. Forbidden names
Some names are reserved and not allowed to use.
1.5. Rate limit
Maximum number of requests is 2000 from a single IP address in 5 minute period. This value is continually evaluated, and requests will be blocked once this limit is reached. The IP address is automatically unblocked after it falls below the limit.
2. Organisation
Organisation (sometimes referred as an "account") is a holder for multiple groups. You need to know id of an organisation to use the following resources.
2.1. Data
Organisation holds data such as package and customizations.
2.1.1. List organisations
This resource returns a list of organisations user is part of.
GET /v2/accounts HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1808
[ {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 412,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 603,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
} ]
List item fields are defined in Get a single organisation data |
2.1.2. Get a single organisation data
View extended details for an organisation.
Parameter | Description |
---|---|
|
Organisation/account id |
GET /v2/accounts/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1804
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 601,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 319,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
Path | Type | Description |
---|---|---|
|
|
Organisation id |
|
|
Creator user |
|
|
Unique name |
|
|
Full name |
|
|
Creation date |
|
|
Last modification date |
|
|
Is account enabled |
|
|
SAML configuration |
|
|
Branding background color |
|
|
Branding text color |
|
|
Has logo |
|
|
Has large size logo |
|
|
Has medium size logo |
|
|
Has custom favicon |
|
|
Has gradient applied to background image |
|
|
The horizontal width of the gradient over the background image |
2.1.3. Get custom component names
Some organisations require naming customisations.
Parameter | Description |
---|---|
|
Organisation/account id |
GET /v2/accounts/1/custom HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/custom' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3
{ }
Path | Type | Description |
---|---|---|
|
|
Events component singular name |
|
|
Discussions component singular name |
|
|
Files component singular name |
|
|
Notes component singular name |
|
|
Tasks component singular name |
|
|
Events component plural name |
|
|
Discussions component plural name |
|
|
Files component plural name |
|
|
Notes component plural name |
|
|
Tasks component plural name |
|
|
Shortcuts component plural name |
2.2. Groups
2.2.1. List groups
View list of all organisation groups.
Parameter | Description |
---|---|
|
Organisation/account id |
GET /v2/accounts/1/groups HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4569
[ {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 985,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 890,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
}, {
"name" : "activity",
"order" : null,
"configuration" : { }
}, {
"name" : "chat",
"order" : null,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 18,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 346,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
} ]
List item fields are defined in Get a single group data |
2.2.2. Get a single group data
View extended details for a single group.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
GET /v2/accounts/1/groups/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4566
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 277,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 268,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
}, {
"name" : "activity",
"order" : null,
"configuration" : { }
}, {
"name" : "chat",
"order" : null,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 432,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 225,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
Path | Type | Description |
---|---|---|
|
|
Group id |
|
|
Master group id |
|
|
Master group synchronization configuration |
|
|
Owner user |
|
|
Group unique name |
|
|
Group friendly name |
|
|
Amount of group members |
|
|
Header background color |
|
|
Text color |
|
|
Logo exists |
|
|
Logo alignment |
|
|
Background exists |
|
|
Background image X position |
|
|
Background image Y position |
|
|
Components |
|
|
Amount of storage consumed |
|
|
Creation date |
|
|
Last modification time |
|
|
Chat disabled |
|
|
Content comments disabled |
|
|
Recent, Created by, I follow widgets disabled |
|
|
Comments conversation in e-mail notifications are disabled |
|
|
Hide member profile details from other members |
|
|
Organisation/account a group belongs to |
|
|
Watermark configurations specific for a space |
2.2.3. Create a group
Creates a new group for an organisation.
Parameter | Description |
---|---|
|
Organisation/account id |
Path | Type | Description |
---|---|---|
|
|
Group unique name |
|
|
Group friendly name |
|
|
Header background color |
|
|
Text color |
|
|
Logo exists |
|
|
Background exists |
|
|
Background image X position |
|
|
Background image Y position |
|
|
Logo alignment |
|
|
Hide background gradient in foreground |
|
|
Hide background for the logo |
|
|
Hide group name, show only logo |
|
|
Chat disabled |
|
|
Home widgets disabled |
|
|
Content comments disabled |
|
|
Recent, Created by, I follow widgets disabled |
|
|
Enabled components |
POST /v2/accounts/1/groups HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 580
{
"disableAccordionWidgets" : false,
"components" : [ "files", "pages", "discussions", "events", "tasks" ],
"disableChat" : false,
"disableWidgets" : false,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"disableAccordionWidgets" : false,
"components" : [ "files", "pages", "discussions", "events", "tasks" ],
"disableChat" : false,
"disableWidgets" : false,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1752
{
"id" : null,
"comments" : 0,
"attachments" : 0,
"contextKey" : null,
"master" : null,
"owner" : null,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : null,
"lastModified" : null,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "pages",
"order" : null,
"configuration" : { }
}, {
"name" : "activity",
"order" : null,
"configuration" : { }
}, {
"name" : "files",
"order" : null,
"configuration" : { }
}, {
"name" : "discussions",
"order" : null,
"configuration" : { }
}, {
"name" : "chat",
"order" : null,
"configuration" : { }
}, {
"name" : "tasks",
"order" : null,
"configuration" : { }
}, {
"name" : "events",
"order" : null,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : false,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : null
}
Response fields are defined in Get a single group data |
2.2.4. Update a group
Changing group data and settings.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
POST /v2/accounts/1/groups/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 580
{
"disableAccordionWidgets" : false,
"components" : [ "files", "pages", "discussions", "events", "tasks" ],
"disableChat" : false,
"disableWidgets" : false,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"disableAccordionWidgets" : false,
"components" : [ "files", "pages", "discussions", "events", "tasks" ],
"disableChat" : false,
"disableWidgets" : false,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4658
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 74,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 78,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "pages",
"order" : null,
"configuration" : { }
}, {
"name" : "activity",
"order" : null,
"configuration" : { }
}, {
"name" : "files",
"order" : null,
"configuration" : { }
}, {
"name" : "discussions",
"order" : null,
"configuration" : { }
}, {
"name" : "chat",
"order" : null,
"configuration" : { }
}, {
"name" : "tasks",
"order" : null,
"configuration" : { }
}, {
"name" : "events",
"order" : null,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : false,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 909,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 804,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
Response fields are defined in Get a single group data |
2.2.5. Delete a group
Removes a single group by placing it to trash.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
DELETE /v2/accounts/1/groups/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
2.2.6. Duplicate group
Duplicates a group.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
Parameter | Description |
---|---|
|
New name for a duplicate |
GET /v2/accounts/1/groups/1/duplicate?duplicateName=New+Group+Name HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/duplicate?duplicateName=New+Group+Name' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 202 Accepted
2.2.7. Permission masks
This section shows supported permission numbers and their description.
Account level permission masks
Permission masks that can be assigned to a user on account level.
1 |
Member (regular member) |
4 |
Group creator (can create new groups) |
16 |
Super administrator (can create and see all account groups, and manage account settings) |
Group level permission masks
Permission masks that can be assigned to a user on group level.
1 |
Basic (read only) |
4 |
Standard (read and write) |
16 |
Group administrator |
Content level permission masks
Permission masks that can be assigned to a user on specific content (e.g. a file) basis.
1 |
View only |
2 |
View, download and share (if applicable) |
4 |
View and edit |
8 |
View, edit and delete |
16 |
Administer (no restrictions) |
2.3. Members
Administrator permission is required to manage organisation members. |
2.3.1. List members
List of current organisation members. Result is paginated.
Parameter | Description |
---|---|
|
Organisation/account id |
Parameter | Description |
---|---|
|
The page to retrieve |
|
Entries per page |
GET /v2/accounts/1/members HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/members' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1118
{
"currentPage" : 1,
"totalResults" : 1,
"pageSize" : 10,
"totalPages" : 1,
"page" : [ {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 510,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"accountPermission" : 1
} ],
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Next page exists |
|
|
Page entries |
|
|
Total amount of available pages |
|
|
Next page exists |
|
|
Previous page exists |
|
|
Total amount of entries |
Page entry fields are defined in Get single member data. |
2.3.2. Get single member data
Single member data.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Username of a user to retrieve |
GET /v2/accounts/1/members/jack HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/members/jack' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 899
{
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 926,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"accountPermission" : 1
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Unique username |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Locked and can’t sign in |
|
|
2FA is enabled |
|
|
2FA mode - either SMS or Authenticator |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Last sign in date (timestamp in milliseconds) |
|
|
Last date time the user was active (timestamp in milliseconds) |
|
|
Activation date (timestamp in milliseconds) |
|
|
Creation date (timestamp in milliseconds) |
|
|
Local time zone name |
|
|
Local time zone offset |
|
|
Locale |
|
|
Is E-mail address verified |
|
|
Account permission mask |
|
|
Map of group:permission |
2.3.3. Create a member
Single member creation. This example also adds newly created user to a group named my_group
with read, write & create
permissions.
Parameter | Description |
---|---|
|
Organisation/account id |
Path | Type | Description |
---|---|---|
|
|
Unique username |
|
|
Raw password |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Account permission mask |
|
|
Map of group:permission |
|
|
Activation message |
|
|
Activation date in the future |
|
|
Activation type: 'now' or 'custom' |
POST /v2/accounts/1/members HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 322
{
"user" : {
"username" : "new.user",
"password" : "iuWo9oog1I",
"name" : "Jack Bauer",
"email" : "jack.bauer@clinked.com"
},
"accountPermission" : 4,
"groups" : {
"my_group" : 1
},
"activationType" : "now",
"activationDate" : 1684392072428,
"activationMessage" : "Activation message"
}
$ curl 'https://api.clinked.com/v2/accounts/1/members' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"user" : {
"username" : "new.user",
"password" : "iuWo9oog1I",
"name" : "Jack Bauer",
"email" : "jack.bauer@clinked.com"
},
"accountPermission" : 4,
"groups" : {
"my_group" : 1
},
"activationType" : "now",
"activationDate" : 1684392072428,
"activationMessage" : "Activation message"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 900
{
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 211,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"accountPermission" : 16
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Unique username |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Locked and can’t sign in |
|
|
2FA is enabled |
|
|
2FA mode - either SMS or Authenticator |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Last sign in date (timestamp in milliseconds) |
|
|
Last date time the user was active (timestamp in milliseconds) |
|
|
Activation date (timestamp in milliseconds) |
|
|
Creation date (timestamp in milliseconds) |
|
|
Local time zone name |
|
|
Local time zone offset |
|
|
Locale |
|
|
Is E-mail address verified |
|
|
Account permission mask |
2.3.4. Update a member
Changing member data.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Username of a user to update |
Path | Type | Description |
---|---|---|
|
|
Unique username |
|
|
Raw password |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Account permission mask |
|
|
Map of group:permission |
|
|
Activation message |
|
|
Activation date in the future |
|
|
Activation type: 'now' or 'custom' |
POST /v2/accounts/1/members/jack HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 324
{
"user" : {
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"enabled" : true,
"password" : "iuWo9oog1I",
"name" : "name",
"email" : "valid@email.local"
},
"accountPermission" : 1,
"groups" : {
"my_group" : 1
}
}
$ curl 'https://api.clinked.com/v2/accounts/1/members/jack' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"user" : {
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"enabled" : true,
"password" : "iuWo9oog1I",
"name" : "name",
"email" : "valid@email.local"
},
"accountPermission" : 1,
"groups" : {
"my_group" : 1
}
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 888
{
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 650,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "name",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "valid@email.local",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"accountPermission" : 1
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Unique username |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Locked and can’t sign in |
|
|
2FA is enabled |
|
|
2FA mode - either SMS or Authenticator |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Last sign in date (timestamp in milliseconds) |
|
|
Last date time the user was active (timestamp in milliseconds) |
|
|
Activation date (timestamp in milliseconds) |
|
|
Creation date (timestamp in milliseconds) |
|
|
Local time zone name |
|
|
Local time zone offset |
|
|
Locale |
|
|
Is E-mail address verified |
|
|
Account permission mask |
|
|
Map of group:permission |
2.3.5. Delete a member
Deleting a member. If a user has no organisations any more it will be automatically deleted from the system.
Deleted user can’t be restored. |
Parameter | Description |
---|---|
|
Organisation/account id |
|
Username of a user to delete |
DELETE /v2/accounts/1/members/jack HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/members/jack' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
3. Group
A group (sometimes referred as "space") is an isolated entity that belongs to an organisation. Each group has its own content such as files, notes, etc.
3.1. Files
3.1.1. List files
List visible files in a group folder. Result is paginated.
Parameter | Description |
---|---|
|
The page to retrieve |
|
Entries per page |
|
Order by name |
|
Order by modification date |
|
Order by size |
|
Search by name |
|
Retrieve files that were modified after the date (timestamp in milliseconds) |
|
Retrieve folders only (excludes other files) |
Top level folder
Uploads a file to the group top level folder.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
GET /v2/accounts/1/groups/1/files HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 13886
{
"currentPage" : 1,
"pageSize" : 25,
"nextPage" : false,
"page" : [ {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 507,
"objectType" : "com.rabbitsoft.clinked.domain.FileRecord",
"objectId" : 1
},
"name" : "example_folder",
"friendlyName" : "Example Folder",
"description" : null,
"watermark" : false,
"contentType" : "@folder",
"size" : 0,
"uploaded" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 165,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"versions" : 0,
"sharing" : "NONE",
"memberPermission" : 2,
"hidden" : false,
"tags" : null,
"locked" : false,
"locker" : null,
"dateLocked" : null,
"lastModified" : 1514764800000,
"previewInfo" : null,
"inputStream" : null,
"path" : [ ],
"available" : true,
"type" : "file",
"parent" : null,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 237,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 177,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 393,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 48,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}, {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 54,
"objectType" : "com.rabbitsoft.clinked.domain.FileRecord",
"objectId" : 1
},
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"description" : null,
"watermark" : false,
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 250,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"versions" : 0,
"sharing" : "NONE",
"memberPermission" : 2,
"hidden" : false,
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"dateLocked" : null,
"lastModified" : 1514764800000,
"previewInfo" : null,
"inputStream" : null,
"path" : [ ],
"available" : true,
"type" : "file",
"parent" : null,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 60,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 246,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 740,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 207,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ]
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Next page exists |
|
|
Page entries |
Page entry fields are defined in Get a single file data. |
Specific folder
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
Folder id to get files from, empty for root directory |
GET /v2/accounts/1/groups/1/files/1/children HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1/children' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
Result is the same as in Top level folder.
3.1.2. Get a single file data
Single file might contain more data about a file that is not present when retrieving a list.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
File id to retrieve |
GET /v2/accounts/1/groups/1/files/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6433
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 594,
"objectType" : "com.rabbitsoft.clinked.domain.FileRecord",
"objectId" : 1
},
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"description" : null,
"watermark" : false,
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 73,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"versions" : 0,
"sharing" : "NONE",
"memberPermission" : 2,
"hidden" : false,
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"dateLocked" : null,
"lastModified" : 1514764800000,
"previewInfo" : null,
"inputStream" : null,
"path" : [ ],
"available" : true,
"type" : "file",
"parent" : null,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 428,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 208,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 953,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 829,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
|
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Description of the content |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Is hidden |
|
|
Tags separated by comma |
|
|
Shows watermarked preview if true |
|
|
Last modification date (timestamp in milliseconds) |
|
|
File parent folder |
|
|
A group to which file belongs to |
3.1.3. Upload a file
Large files
This method allows to upload a file by small chunks and is preferred if a file is larger than 5 MiB. Also this method doesn’t create a file until a client informs the API about successful upload.
You can find the full code example here. |
Chunk size has to be larger than 5 MiB (5242880 bytes). If a total file size is less than that, you need to use a different approach. See Small files section. |
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
Name | Description |
---|---|
|
File full name |
|
File content type |
|
File full size |
|
Chunk index |
|
Chunk start |
|
Chunk end |
POST /v2/accounts/1/groups/1/files/upload/data HTTP/1.1
X-File-Name: Lorem ipsum.txt
X-File-Type: text/plain
X-File-Size: 138
X-File-Chunk: 0
X-File-Start: 0
X-File-End: 67
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 67
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae.
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/upload/data' -i -X POST \
-H 'X-File-Name: Lorem ipsum.txt' \
-H 'X-File-Type: text/plain' \
-H 'X-File-Size: 138' \
-H 'X-File-Chunk: 0' \
-H 'X-File-Start: 0' \
-H 'X-File-End: 67' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae.'
POST /v2/accounts/1/groups/1/files/upload/data HTTP/1.1
X-File-Name: Lorem ipsum.txt
X-File-Type: text/plain
X-File-Size: 138
X-File-Chunk: 1
X-File-Start: 67
X-File-End: 138
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 71
Nulla facilisi. Etiam dignissim libero id diam facilisis, vel volutpat.
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/upload/data' -i -X POST \
-H 'X-File-Name: Lorem ipsum.txt' \
-H 'X-File-Type: text/plain' \
-H 'X-File-Size: 138' \
-H 'X-File-Chunk: 1' \
-H 'X-File-Start: 67' \
-H 'X-File-End: 138' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d 'Nulla facilisi. Etiam dignissim libero id diam facilisis, vel volutpat.'
HTTP/1.1 200 OK
When all file chunks are uploaded a client should inform the API about successful upload, specify where to put the uploaded file and provide file metadata in the request body.
Name | Description |
---|---|
|
File full name |
|
File content type |
|
File full size |
Parameter | Description |
---|---|
|
Mark upload as successful |
|
Where to put successfully uploaded file in the following format: |
Path | Type | Description |
---|---|---|
|
|
Full file name |
|
|
File type |
|
|
File size |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
POST /v2/accounts/1/groups/1/files/upload/complete?success=true&forwardContext=%2Fv2%2Faccounts%2F1%2Fgroups%2F1%2Ffiles HTTP/1.1
Content-Type: application/json
X-File-Name: Lorem ipsum.txt
X-File-Type: text/plain
X-File-Size: 138
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 139
{
"memberPermission" : 8,
"size" : 138,
"sharing" : "MEMBERS",
"contentType" : "text/plain",
"friendlyName" : "Lorem ipsum.txt"
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/upload/complete?success=true&forwardContext=%2Fv2%2Faccounts%2F1%2Fgroups%2F1%2Ffiles' -i -X POST \
-H 'Content-Type: application/json' \
-H 'X-File-Name: Lorem ipsum.txt' \
-H 'X-File-Type: text/plain' \
-H 'X-File-Size: 138' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"memberPermission" : 8,
"size" : 138,
"sharing" : "MEMBERS",
"contentType" : "text/plain",
"friendlyName" : "Lorem ipsum.txt"
}'
HTTP/1.1 200 OK
Small files
We encourage clients to upload files larger than 5 MiB (5242880 bytes) by chunks as described in the Large files section as it is more reliable method in most cases. |
This method allows to upload small files (less than 100MB). If a file is larger than that please refer to Large files section.
There are 2 steps you need to do to upload a file using this method:
-
Create a new File instance by providing information such as file size and type.
-
Upload file contents with single request.
Create file instance
Before you upload a file you need to provide some data about it by creating a File instance.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
Optional. Folder id to create file in, empty for root directory |
Path | Type | Description |
---|---|---|
|
|
Full file name |
|
|
File content type |
|
|
File size |
|
|
Existing file id to update |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
POST /v2/accounts/1/groups/1/files/ HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Authorization:
Accept: application/json
Host: api.clinked.com
Content-Length: 145
{
"memberPermission" : 8,
"size" : 1000,
"sharing" : "MEMBERS",
"contentType" : "application/pdf",
"friendlyName" : "My Document.pdf"
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Authorization: ' \
-H 'Accept: application/json' \
-d '{
"memberPermission" : 8,
"size" : 1000,
"sharing" : "MEMBERS",
"contentType" : "application/pdf",
"friendlyName" : "My Document.pdf"
}'
Response fields are the same as defined in Get a single file data. |
Upload file data
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
File id |
POST /v2/accounts/1/groups/1/files/1/data HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In fringilla.
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1/data' -i -X POST \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-F 'file=Lorem ipsum dolor sit amet, consectetur adipiscing elit. In fringilla.'
HTTP/1.1 200 OK
3.1.4. Create a folder
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
Optional. Folder id to create folder in, empty for root directory |
Path | Type | Description |
---|---|---|
|
|
Full folder name |
|
|
Content type as '@folder' |
|
|
Size as '0' |
|
|
Existing folder id to update |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
POST /v2/accounts/1/groups/1/files/ HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 128
{
"memberPermission" : 8,
"size" : 0,
"sharing" : "MEMBERS",
"contentType" : "@folder",
"friendlyName" : "My Folder"
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"memberPermission" : 8,
"size" : 0,
"sharing" : "MEMBERS",
"contentType" : "@folder",
"friendlyName" : "My Folder"
}'
Response fields are the same as defined in Get a single file data. |
3.1.5. Remove a file
When removing a file it is placed to a group trash can and may be restored.
When removing a folder that contains files it is a client responsibility to recursively remove all files before removing a folder itself to avoid possible data loss because internal files are not automatically moved to a group trash can. |
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
File id to remove |
DELETE /v2/accounts/1/groups/1/files/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
3.1.6. Move a file
Moves a file to other groups and folders.
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
File id to move |
Path | Type | Description |
---|---|---|
|
|
Destination folder id, or null for group top level directory |
|
|
Destination group id |
POST /v2/accounts/1/groups/1/files/1/move HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 46
{
"id" : 5,
"group" : {
"id" : 1
}
}
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1/move' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"id" : 5,
"group" : {
"id" : 1
}
}'
Response fields are the same as defined in Get a single file data. |
3.1.7. Download a file
Parameter | Description |
---|---|
|
Organisation/account id |
|
Space/group id |
|
File id to download |
GET /v2/accounts/1/groups/1/files/1/download HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/accounts/1/groups/1/files/1/download' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/pdf
3.2. Notes
API does not support note deletion yet. |
3.2.1. List notes
View list of all organisation notes.
Parameter | Description |
---|---|
|
Group name or @id |
Parameter | Description |
---|---|
|
Type: page, template, dashboard |
|
Search by name |
|
Order field |
|
Order ascending |
|
Page number to retrieve |
GET /groups/@1/pages?type=page&orderBy=lastModified&ascending=false¤tPage=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/pages?type=page&orderBy=lastModified&ascending=false¤tPage=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6738
{
"currentPage" : 1,
"totalResults" : 1,
"pageSize" : 1,
"totalPages" : 1,
"page" : [ {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 773,
"objectType" : "com.rabbitsoft.clinked.domain.Page",
"objectId" : 1
},
"name" : "home_page",
"friendlyName" : "Home Page",
"moved" : null,
"template" : false,
"tags" : "lorem,ipsum",
"content" : "",
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 22,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 8,
"pageType" : "PAGE",
"parent" : null,
"type" : "page",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 64,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 836,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 181,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 57,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ],
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Next page exists |
|
|
Previous page exists |
|
|
Current page number |
|
|
Page size |
|
|
Total amount of pages |
|
|
Total amount of matching items |
3.2.2. Get a single note data
View extended details for a single note.
Parameter | Description |
---|---|
|
Group name or @id |
|
Note name or @id |
GET /groups/@1/pages/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/pages/@1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6531
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 97,
"objectType" : "com.rabbitsoft.clinked.domain.PageWithContent",
"objectId" : 1
},
"name" : "home_page",
"friendlyName" : "Home Page",
"moved" : null,
"template" : false,
"tags" : "lorem,ipsum",
"content" : "<h2>Welcome to your Group Welcome Note!</h2><p><strong>This is a sample note to help you explore Clinked.</strong>",
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 523,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 8,
"pageType" : "PAGE",
"parent" : null,
"editContent" : "<h2>Welcome to your Group Welcome Note!</h2><p><strong>This is a sample note to help you explore Clinked.</strong>",
"viewContent" : "<h2>Welcome to your Group Welcome Note!</h2><p><strong>This is a sample note to help you explore Clinked.</strong>",
"type" : "page",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 496,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 760,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 214,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 527,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Amount of comments |
|
|
Amount of attachments |
|
|
Unique name |
|
|
Full name |
|
|
Is a template |
|
|
Tags |
|
|
Contents |
|
|
Creator |
|
|
Creation date |
|
|
Last modification date |
|
|
Permission |
|
|
Permission mask |
|
|
Content for editing |
|
|
Content for viewing |
|
|
Owner group |
3.2.3. Create a note
Creates a new note for an organisation.
Parameter | Description |
---|---|
|
Group name or @id |
Path | Type | Description |
---|---|---|
|
|
Note name |
|
|
Note content |
POST /groups/@1/pages HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 64
{
"friendlyName" : "Home page",
"content" : "<p>Hello</p>"
}
$ curl 'https://api.clinked.com/groups/@1/pages' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"friendlyName" : "Home page",
"content" : "<p>Hello</p>"
}'
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 5210
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : null,
"name" : "home_page",
"friendlyName" : "Home page",
"moved" : null,
"template" : false,
"tags" : null,
"content" : "",
"creator" : null,
"dateCreated" : null,
"lastModified" : null,
"sharing" : "MEMBERS",
"memberPermission" : 8,
"pageType" : "PAGE",
"parent" : null,
"editContent" : null,
"viewContent" : null,
"type" : "page",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 755,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 829,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 950,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 407,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Response fields are defined in Get a single note data |
3.2.4. Update a note
Changing note data and settings.
Parameter | Description |
---|---|
|
Group name or @id |
|
Note name or @id |
POST /groups/@1/pages/@1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 64
{
"friendlyName" : "Home page",
"content" : "<p>Hello</p>"
}
$ curl 'https://api.clinked.com/groups/@1/pages/@1' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"friendlyName" : "Home page",
"content" : "<p>Hello</p>"
}'
HTTP/1.1 200 OK
3.2.5. Remove a note
Parameter | Description |
---|---|
|
Group name or @id |
|
Note name or @id |
DELETE /groups/@1/pages/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/pages/@1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
3.3. Events
3.3.1. List events in date range
Retrieves all events in a date range.
Parameter | Description |
---|---|
|
Group name or @id |
Parameter | Description |
---|---|
|
Range start date in ISO 8601 |
|
Range end date in ISO 8601 |
GET /groups/@1/events/range?start=2018-01-01T00%3A00%3A00Z&end=2018-02-01T00%3A00%3A00Z HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/events/range?start=2018-01-01T00%3A00%3A00Z&end=2018-02-01T00%3A00%3A00Z' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6434
[ {
"id" : 1,
"comments" : 5,
"attachments" : 0,
"contextKey" : {
"id" : 508,
"objectType" : "com.rabbitsoft.clinked.domain.Event",
"objectId" : 1
},
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000,
"endDate" : 1515164400000,
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"description" : "Let's do this every friday",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 419,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"attendees" : 5,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"timeZone" : "Europe/Riga",
"dateEndRecurrence" : 1684391968154,
"disableMaybe" : false,
"multiDay" : false,
"type" : "event",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 962,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 875,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 619,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 358,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ]
List item fields are defined in Get a single event data |
3.3.2. Get a single event data
View extended details for a single event.
Parameter | Description |
---|---|
|
Group name or @id |
|
Event name or @id |
GET /groups/@1/events/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/events/@1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6526
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 709,
"objectType" : "com.rabbitsoft.clinked.domain.Event",
"objectId" : 1
},
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000,
"endDate" : 1515164400000,
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"description" : "Let's do this every friday",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 343,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"attendees" : 5,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"timeZone" : "Europe/Riga",
"dateEndRecurrence" : 1684391968342,
"disableMaybe" : false,
"editContent" : "Let's do this every friday",
"viewContent" : "Let's do this every friday",
"type" : "event",
"multiDay" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 976,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 155,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 627,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 810,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Amount of comments |
|
|
Amount of attachments |
|
|
Unique name |
|
|
Full name |
|
|
Start date and time |
|
|
End date and time |
|
|
Full day event |
|
|
Location |
|
|
Tags |
|
|
Description |
|
|
Description optimized for editing |
|
|
Description optimized for viewing |
|
|
Creation date |
|
|
Last modification date |
|
|
Remind date |
|
|
Creator |
|
|
Amount of attendees |
|
|
Recurrence rule (iCal) |
|
|
Recurrence end date |
|
|
Event time zone id |
|
|
|
|
|
Is recurrent event |
|
|
Member permission |
|
|
Group |
3.3.3. Create an event
Creates a new event.
Parameter | Description |
---|---|
|
Group name or @id |
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Description |
|
|
Start date and time |
|
|
End date and time |
|
|
Is all day event |
|
|
Location |
|
|
When to remind event attendees about the event via e-mail |
|
|
Recurrence rule (iCal) |
|
|
Recurrence end date |
|
|
Event time zone id |
|
|
List of usernames, e-mail addresses to assign to event. Only group members. |
|
|
Assign self to event |
POST /groups/@1/events HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 335
{
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"allDay" : false,
"dateReminder" : 1514707200000,
"assignSelf" : true,
"endDate" : 1515164400000,
"description" : "Let's do this every friday",
"timeZone" : "Europe/Riga",
"location" : "London",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000
}
$ curl 'https://api.clinked.com/groups/@1/events' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"allDay" : false,
"dateReminder" : 1514707200000,
"assignSelf" : true,
"endDate" : 1515164400000,
"description" : "Let's do this every friday",
"timeZone" : "Europe/Riga",
"location" : "London",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6413
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : null,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000,
"endDate" : 1515164400000,
"allDay" : false,
"location" : "London",
"tags" : "",
"description" : "Let's do this every friday",
"dateCreated" : 1684391968276,
"lastModified" : 1684391968276,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 160,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"attendees" : 0,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"timeZone" : "Europe/Riga",
"dateEndRecurrence" : null,
"disableMaybe" : false,
"editContent" : "Let's do this every friday",
"viewContent" : "Let's do this every friday",
"type" : "event",
"multiDay" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 72,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 849,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 385,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 698,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Response fields are defined in Get a single event data |
3.3.4. Update an event
Changing event data.
Parameter | Description |
---|---|
|
Group name or @id |
|
Event name or @id |
PUT /groups/@1/events/@1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 312
{
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"allDay" : false,
"dateReminder" : 1514707200000,
"endDate" : 1515164400000,
"description" : "Let's do this every friday",
"timeZone" : "Europe/Riga",
"location" : "London",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000
}
$ curl 'https://api.clinked.com/groups/@1/events/@1' -i -X PUT \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"allDay" : false,
"dateReminder" : 1514707200000,
"endDate" : 1515164400000,
"description" : "Let's do this every friday",
"timeZone" : "Europe/Riga",
"location" : "London",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6517
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 217,
"objectType" : "com.rabbitsoft.clinked.domain.Event",
"objectId" : 1
},
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000,
"endDate" : 1515164400000,
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"description" : "Let's do this every friday",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 744,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"attendees" : 5,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"timeZone" : "Europe/Riga",
"dateEndRecurrence" : null,
"disableMaybe" : false,
"editContent" : "Let's do this every friday",
"viewContent" : "Let's do this every friday",
"type" : "event",
"multiDay" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 319,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 864,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 115,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 221,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6517
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 217,
"objectType" : "com.rabbitsoft.clinked.domain.Event",
"objectId" : 1
},
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : 1515160800000,
"endDate" : 1515164400000,
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"description" : "Let's do this every friday",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 744,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"attendees" : 5,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"timeZone" : "Europe/Riga",
"dateEndRecurrence" : null,
"disableMaybe" : false,
"editContent" : "Let's do this every friday",
"viewContent" : "Let's do this every friday",
"type" : "event",
"multiDay" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 319,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 864,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 115,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 221,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Response fields are defined in Get a single event data |
3.3.5. Delete an event
Deleting event.
Parameter | Description |
---|---|
|
Group name or @id |
|
Event name or @id |
DELETE /groups/@1/events/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/events/@1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
3.4. Tasks
3.4.1. List tasks
Retrieves all tasks in a date range.
Parameter | Description |
---|---|
|
Group name or @id |
Parameter | Description |
---|---|
|
Include completed tasks |
|
Order field |
|
Order ascending |
|
Page number to retrieve |
GET /groups/@1/tasks?completed=true&orderBy=dateCreated&ascending=false¤tPage=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/tasks?completed=true&orderBy=dateCreated&ascending=false¤tPage=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 7116
{
"currentPage" : 1,
"totalResults" : 1,
"pageSize" : 1,
"totalPages" : 1,
"page" : [ {
"id" : 1,
"comments" : 5,
"attachments" : 0,
"contextKey" : {
"id" : 383,
"objectType" : "com.rabbitsoft.clinked.domain.Task",
"objectId" : 1
},
"category" : null,
"name" : "deploy_update",
"friendlyName" : "Deploy update",
"status" : "NOT_STARTED",
"progress" : 0,
"datePriority" : 2,
"dueDate" : 1661428614000,
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 332,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"recurrence" : null,
"recurId" : null,
"timeZone" : null,
"order" : 2147483647,
"priority" : "MEDIUM",
"parent" : null,
"timeTracker" : null,
"overdue" : true,
"summary" : "explore_clinked: Deploy update",
"timeSet" : true,
"completed" : false,
"type" : "task",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 818,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 152,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 64,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 921,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ],
"nextPage" : false,
"previousPage" : false
}
List item fields are defined in Get a single task data |
3.4.2. Get a single task data
View extended details for a single task.
Parameter | Description |
---|---|
|
Group name or @id |
|
Task name or @id |
GET /groups/@1/tasks/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/tasks/@1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6555
{
"id" : 1,
"comments" : 5,
"attachments" : 0,
"contextKey" : {
"id" : 905,
"objectType" : "com.rabbitsoft.clinked.domain.Task",
"objectId" : 1
},
"category" : null,
"name" : "deploy_update",
"friendlyName" : "Deploy update",
"status" : "NOT_STARTED",
"progress" : 0,
"datePriority" : 2,
"dueDate" : 1661428614000,
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"dateReminder" : 1514707200000,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 745,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"recurrence" : null,
"recurId" : null,
"timeZone" : null,
"order" : 2147483647,
"priority" : "MEDIUM",
"parent" : null,
"timeTracker" : null,
"editContent" : "Let's do this",
"viewContent" : "Let's do this",
"type" : "task",
"overdue" : true,
"summary" : "explore_clinked: Deploy update",
"timeSet" : true,
"completed" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 143,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 230,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 941,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 602,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Amount of comments |
|
|
Amount of attachments |
|
|
Unique name |
|
|
Full name |
|
|
Status |
|
|
Priority |
|
|
Progress in % |
|
|
Priority |
|
|
Tags |
|
|
Description |
|
|
Description optimized for editing |
|
|
Description for viewing |
|
|
Creation date |
|
|
Last modification date |
|
|
Reminder date |
|
|
Creator |
|
|
Task time zone id |
|
|
Is time set |
|
|
Is completed |
|
|
Is task overdue |
|
|
Summary text |
|
|
Owner group |
|
|
Task category |
|
|
Task order from smallest to largest |
3.4.3. Create a task
Creates a new task.
Parameter | Description |
---|---|
|
Group name or @id |
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Description |
|
|
Status: [NOT_STARTED, IN_PROGRESS, DEFERRED, WAITING, COMPLETED] |
|
|
Reminder date |
|
|
Deadline |
|
|
List of usernames, e-mail addresses to assign to task. Only group members. |
|
|
Assign self to task |
|
|
Completion progress in % |
POST /groups/@1/tasks HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 184
{
"dateReminder" : 1684391964906,
"dueDate" : 1684391964906,
"description" : "Do this",
"progress" : 50,
"friendlyName" : "Deploy latest update",
"status" : "IN_PROGRESS"
}
$ curl 'https://api.clinked.com/groups/@1/tasks' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"dateReminder" : 1684391964906,
"dueDate" : 1684391964906,
"description" : "Do this",
"progress" : 50,
"friendlyName" : "Deploy latest update",
"status" : "IN_PROGRESS"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6476
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : null,
"category" : null,
"name" : "deploy_latest_update",
"friendlyName" : "Deploy latest update",
"status" : "IN_PROGRESS",
"progress" : 50,
"datePriority" : 2,
"dueDate" : 1684391964906,
"tags" : "",
"description" : "Do this",
"dateCreated" : 1684391965058,
"lastModified" : 1684391965058,
"dateReminder" : 1684391964906,
"author" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 748,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"recurrence" : null,
"recurId" : null,
"timeZone" : "Europe/London",
"order" : 2147483647,
"priority" : "MEDIUM",
"parent" : null,
"timeTracker" : null,
"editContent" : "Do this",
"viewContent" : "Do this",
"type" : "task",
"overdue" : true,
"summary" : "explore_clinked: Deploy latest update",
"timeSet" : true,
"completed" : false,
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 744,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 953,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 893,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 57,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Response fields are defined in Get a single task data |
3.4.4. Update a task
Changing task data.
Parameter | Description |
---|---|
|
Group name or @id |
|
Task name or @id |
3.5. Discussions
3.5.1. List discussions
Parameter | Description |
---|---|
|
Group name or @id |
GET /groups/@1/discussions HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/discussions' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6854
{
"currentPage" : 1,
"totalResults" : 1,
"pageSize" : 1,
"totalPages" : 1,
"page" : [ {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 798,
"objectType" : "com.rabbitsoft.clinked.domain.Discussion",
"objectId" : 1
},
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 2,
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 402,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"replier" : null,
"type" : "discussion",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 52,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 762,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 775,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 858,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ],
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Next page exists |
|
|
Previous page exists |
|
|
Current page number |
|
|
Page size |
|
|
Total amount of pages |
|
|
Total amount of matching items |
3.5.2. Get a single discussion
Parameter | Description |
---|---|
|
Group name or @id |
|
Discussion name or @id |
GET /groups/@1/discussions/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/discussions/@1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6348
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 811,
"objectType" : "com.rabbitsoft.clinked.domain.Discussion",
"objectId" : 1
},
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 2,
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 238,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"replier" : null,
"editContent" : "What do you think about this?",
"viewContent" : "What do you think about this?",
"type" : "discussion",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 208,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 801,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 18,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 822,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Author |
|
|
Member permission |
|
|
Group |
|
|
Unique name |
|
|
Full name |
|
|
Tags |
|
|
Description |
|
|
Description optimized for editing |
|
|
Description optimized for viewing |
|
|
Permission |
3.5.3. Create a discussion
Parameter | Description |
---|---|
|
Group name or @id |
Path | Type | Description |
---|---|---|
|
|
Name |
|
|
Description |
POST /groups/@1/discussions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 77
{
"description" : "What do you think?",
"friendlyName" : "Discuss this"
}
$ curl 'https://api.clinked.com/groups/@1/discussions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"description" : "What do you think?",
"friendlyName" : "Discuss this"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6207
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : null,
"name" : "discuss_this",
"friendlyName" : "Discuss this",
"tags" : "",
"description" : "What do you think?",
"replies" : 0,
"dateCreated" : 1684391966432,
"lastModified" : 1684391966432,
"sharing" : "MEMBERS",
"memberPermission" : 2,
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 58,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"replier" : null,
"editContent" : "What do you think?",
"viewContent" : "What do you think?",
"type" : "discussion",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 644,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 69,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 708,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 217,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Author |
|
|
Member permission |
|
|
Group |
|
|
Unique name |
|
|
Full name |
|
|
Tags |
|
|
Description |
|
|
Description optimized for editing |
|
|
Description optimized for viewing |
|
|
Permission |
3.5.4. List discussion replies
Parameter | Description |
---|---|
|
Group name or @id |
|
Discussion name or @id |
GET /groups/@1/discussions/@1/replies HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/discussions/@1/replies' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 7896
[ {
"id" : 1,
"discussion" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 401,
"objectType" : "com.rabbitsoft.clinked.domain.Discussion",
"objectId" : 1
},
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 2,
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 828,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"replier" : null,
"type" : "discussion",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 435,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 594,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 974,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 768,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
},
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 449,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"reply" : "Here are my 2 cents",
"dateCreated" : 1514764800000,
"silent" : false,
"editContent" : "Here are my 2 cents",
"viewContent" : "Here are my 2 cents"
} ]
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Discussion |
|
|
Author |
|
|
Reply text |
|
|
Creation date |
|
|
Reply text for editing |
|
|
Reply text optimized for viewing |
3.5.5. Create discussion reply
Parameter | Description |
---|---|
|
Group name or @id |
|
Discussion name or @id |
Path | Type | Description |
---|---|---|
|
|
Reply text |
POST /groups/@1/discussions/@1/replies HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 37
{
"reply" : "Here are my 2 cents"
}
$ curl 'https://api.clinked.com/groups/@1/discussions/@1/replies' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"reply" : "Here are my 2 cents"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 7891
{
"id" : 1,
"discussion" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 705,
"objectType" : "com.rabbitsoft.clinked.domain.Discussion",
"objectId" : 1
},
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"sharing" : "MEMBERS",
"memberPermission" : 2,
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 588,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"replier" : null,
"type" : "discussion",
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 822,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 951,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 887,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 293,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
},
"author" : {
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 82,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "Jack Bauer"
},
"reply" : "Here are my 2 cents",
"dateCreated" : 1684391966143,
"silent" : false,
"editContent" : "Here are my 2 cents",
"viewContent" : "Here are my 2 cents"
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Discussion |
|
|
Author |
|
|
Reply text |
|
|
Reply text optimized for editing |
|
|
Reply text optimized for viewing |
|
|
Creation date |
3.5.6. Delete discussion reply
Parameter | Description |
---|---|
|
Group name or @id |
|
Discussion name or @id |
|
Reply id |
DELETE /groups/@1/discussions/@1/replies/@1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups/@1/discussions/@1/replies/@1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
3.6. Activity
Activity is a list of events called "updates". Each update has a type that should be mapped to a template which is populated by additional data. Example template:
{0} uploaded file {3} in {2}
A template can contain one of the following placeholders:
Placeholder number | Data |
---|---|
0 |
Username |
1 |
Organisation name |
2 |
Group name |
3 |
Component name |
4 |
Target username |
5 |
Reserved name |
For a list of all type → template
mappings see Appendix D: Update templates.
3.6.1. List group updates
Retrieves a list of of group updates. Result is paginated.
Parameter | Description |
---|---|
|
Space/group id |
Parameter | Description |
---|---|
|
Pagination offset |
GET /v2/updates/group/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/updates/group/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 8962
{
"offset" : "7c612994-6a98-4152-a0a4-dc2fc224f2bb",
"items" : [ {
"id" : "73248f19-1c12-4517-a8cd-93eeb3e24b29",
"messageCode" : "update.space.trash.filerecord.create",
"message" : null,
"lastModified" : 1514764800000,
"organisationId" : 1,
"spaceId" : 1,
"componentId" : 1,
"componentEntityId" : 1,
"userId" : 1,
"targetUserId" : null,
"componentName" : "Picture 2017-09-28 22-09-58.jpg",
"reservedName" : null,
"userName" : "Jack Bauer",
"targetUserName" : null,
"users" : [ ],
"trackingUsers" : [ ],
"attachments" : [ ],
"published" : false,
"commentCount" : 0,
"component" : null,
"user" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 616,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"targetUser" : null,
"type" : "update",
"accountName" : null,
"groupName" : null,
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 295,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 312,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
},
"group" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 764,
"objectType" : "com.rabbitsoft.clinked.domain.Space",
"objectId" : 1
},
"master" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 62,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"members" : 0,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false
},
"storageConsumed" : 0,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"mailKey" : null,
"order" : null,
"hash" : null,
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"masterConfiguration" : null,
"blind" : false,
"disableChat" : false,
"disableComments" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"disableAccordionWidgets" : true,
"duplicate" : false,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null
},
"type" : "group",
"account" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 736,
"objectType" : "com.rabbitsoft.clinked.domain.Organisation",
"objectId" : 1
},
"creator" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 796,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"enabled" : true,
"domain" : null,
"mobileSchema" : null,
"branding" : {
"backgroundColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"logoLarge" : false,
"logoMedium" : false,
"background" : false,
"favicon" : false,
"textLogo" : false,
"gradient" : false,
"gradientWidth" : 400
},
"samlConfiguration" : {
"entityId" : null,
"ssoEnabled" : false,
"userJit" : true,
"forceSso" : false,
"adminsUsePassword" : true,
"disableProfileEdit" : false,
"forceAuth" : false
},
"hash" : null,
"locale" : null,
"type" : "account"
}
}
} ],
"more" : true
}
Path | Type | Description |
---|---|---|
|
|
Pagination offset |
|
|
Page items |
|
|
Has next page |
|
|
Id |
|
|
Message code |
|
|
Message text |
|
|
Last modification date |
|
|
Organisation id |
|
|
Group id |
|
|
Component id |
|
|
Component entity id |
|
|
Uesr id |
|
|
Target user id |
|
|
Component name |
|
|
Reserved name |
|
|
Username |
|
|
Target username |
|
|
Attachments |
|
|
Component |
|
|
User |
|
|
Target user |
3.6.2. List organisation updates
Retrieves a list of organisation updates. Result is paginated.
Parameter | Description |
---|---|
|
Organisation/account id |
Parameter | Description |
---|---|
|
Pagination offset |
GET /v2/updates/organisation/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/updates/organisation/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Response example is the same as for List group updates. |
3.7. Comments
Pending |
3.8. Guests
Pending |
4. User
Currently logged in user can retrieve and manage some of his own information.
4.1. Getting user data
GET /v2/users/me HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/users/me' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 793
{
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 798,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Unique username |
|
|
Address |
|
|
Full name |
|
|
E-mail address |
|
|
Enabled and can sign in |
|
|
Phone number |
|
|
Organisation name user works in |
|
|
Job title |
|
|
Locked and can’t sign in |
|
|
2FA is enabled |
|
|
2FA mode - either SMS or Authenticator |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Last sign in date (timestamp in milliseconds) |
|
|
Last date time the user was active (timestamp in milliseconds) |
|
|
Activation date (timestamp in milliseconds) |
|
|
Creation date (timestamp in milliseconds) |
|
|
Local time zone name |
|
|
Local time zone offset |
|
|
Locale |
|
|
Is E-mail address verified |
4.2. List user groups
Retrieve all groups a user is a member of.
GET /groups HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/groups' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3
[ ]
List item fields are defined in Get a single group data |
4.3. Notifications
This section is incomplete and provides only request example. |
4.3.1. List notifications
GET /v2/notifications HTTP/1.1
Accept: application/json
Host: api.clinked.com
4.3.2. Mark all notifications as read
PUT /v2/notifications HTTP/1.1
Accept: application/json
Host: api.clinked.com
4.3.3. Mark single notification as read
PUT /v2/notifications/1 HTTP/1.1
Accept: application/json
Host: api.clinked.com
4.4. Applications
4.4.1. List user applications
Lists all user applications.
GET /v2/applications HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/applications' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1484
[ {
"id" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 59,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"clientId" : "7e66abd0-af08-4055-91eb-f067d302f866",
"clientSecret" : "362a42f6-f6a3-4211-9cc1-904ed405804e",
"scope" : [ ],
"name" : "My Awesome App!",
"description" : "This is my awesome test app",
"platform" : "OTHER",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "ANDROID",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"deviceToken" : "c24e5dae-2c05-4e0e-a664-02583d43db92",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1",
"authorities" : [ {
"authority" : "ROLE_CLIENT"
} ],
"registeredRedirectUri" : [ ]
} ]
List item fields are defined in Get single application |
4.4.2. Get single application
Parameter | Description |
---|---|
|
Application client id |
GET /v2/applications/666d08b7-74c6-41f6-8ade-209d1f3e2609 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/applications/666d08b7-74c6-41f6-8ade-209d1f3e2609' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1481
{
"id" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 511,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"clientId" : "666d08b7-74c6-41f6-8ade-209d1f3e2609",
"clientSecret" : "4ab11726-1993-4a26-952c-e4964ce5ca08",
"scope" : [ ],
"name" : "My Awesome App!",
"description" : "This is my awesome test app",
"platform" : "OTHER",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "ANDROID",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"deviceToken" : "fe595e9a-5cfb-4bf7-ab9b-04ce1efaedac",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1",
"authorities" : [ {
"authority" : "ROLE_CLIENT"
} ],
"registeredRedirectUri" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device Firebase Cloud Messaging token for notifications |
|
|
Application owner user |
|
|
Client id |
|
|
Client secret |
|
|
Permission scopes |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
|
|
Authorities/roles |
4.4.3. Create an application
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device Firebase Cloud Messaging token for notifications |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
POST /v2/applications HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 307
{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7"
}
$ curl 'https://api.clinked.com/v2/applications' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1581
{
"id" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 500,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"clientId" : "79df4f5fb1e6437a36456aeea5bb5242",
"clientSecret" : "40a3d77b5ca14b1094619a3031149577",
"scope" : [ "read", "write", "smartsync" ],
"name" : "Awesome App",
"description" : "This is my awesome app",
"platform" : "ANDROID",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "Android",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"deviceToken" : "2ba848d4-1c58-4451-912b-60c5b9732cf7",
"lastActivity" : null,
"ip" : null,
"authorities" : [ {
"authority" : "ROLE_CLIENT"
}, {
"authority" : "READ"
}, {
"authority" : "WRITE"
}, {
"authority" : "SMARTSYNC"
} ],
"registeredRedirectUri" : [ ]
}
List item fields are defined in Get single application |
4.4.4. Update an application
Parameter | Description |
---|---|
|
Application client id |
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device Firebase Cloud Messaging token for notifications |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
PUT /v2/applications/76d1221c-ac38-4670-822e-bd253209f8c8 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 307
{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "78bc74a6-0f9e-4abc-83ff-cab2bbec6c17"
}
$ curl 'https://api.clinked.com/v2/applications/76d1221c-ac38-4670-822e-bd253209f8c8' -i -X PUT \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"deviceType" : "Phone",
"appVersion" : "1.0",
"deviceOs" : "Android",
"name" : "Awesome App",
"bundleId" : "com.clinked.awesome",
"description" : "This is my awesome app",
"deviceModel" : "Google Pixel XL",
"platform" : "ANDROID",
"deviceToken" : "78bc74a6-0f9e-4abc-83ff-cab2bbec6c17"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1474
{
"id" : null,
"owner" : {
"id" : 1,
"comments" : 0,
"attachments" : 0,
"contextKey" : {
"id" : 385,
"objectType" : "com.rabbitsoft.clinked.domain.User",
"objectId" : 1
},
"username" : "jack",
"enabled" : true,
"locked" : false,
"twoFactorAuthentication" : false,
"lastModified" : 1514764800000,
"lastLogin" : 1514764800000,
"lastActive" : null,
"dateCreated" : 1514764800000,
"dateActivated" : 1514764800000,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "Europe/Riga",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorMode" : null,
"timeZoneOffset" : 180,
"type" : "user"
},
"clientId" : "76d1221c-ac38-4670-822e-bd253209f8c8",
"clientSecret" : "bc0549fa-168d-496d-82eb-3a1daaefa855",
"scope" : [ ],
"name" : "Awesome App",
"description" : "This is my awesome app",
"platform" : "ANDROID",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "Android",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"deviceToken" : "78bc74a6-0f9e-4abc-83ff-cab2bbec6c17",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1",
"authorities" : [ {
"authority" : "ROLE_CLIENT"
} ],
"registeredRedirectUri" : [ ]
}
List item fields are defined in Get single application |
4.4.5. Delete an application
Deletes and revokes application access.
Parameter | Description |
---|---|
|
Application client id |
DELETE /v2/applications/3798b2d1-347b-4622-87c9-f973e395153c HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/applications/3798b2d1-347b-4622-87c9-f973e395153c' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
4.5. User properties
Each user has its own map (key → value
) of properties that can be used to change personal preferences.
4.5.1. List properties
Lists all user properties.
GET /v2/users/properties HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/users/properties' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 172
[ {
"name" : "user.property.name1",
"value" : "value1",
"sensitivity" : false
}, {
"name" : "user.property.name2",
"value" : "value2",
"sensitivity" : false
} ]
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property contains sensitive information or not |
|
|
Property value |
4.5.2. Create a property
Creates a user property.
POST /v2/users/properties HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 81
{
"name" : "user.property.name",
"value" : "value",
"sensitivity" : false
}
$ curl 'https://api.clinked.com/v2/users/properties' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"name" : "user.property.name",
"value" : "value",
"sensitivity" : false
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 116
{
"id" : null,
"context" : null,
"name" : "user.property.name",
"value" : "value",
"sensitivity" : false
}
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
|
|
Property contains sensitive information or not |
4.5.3. Delete a property
Deletes a user property.
Parameter | Description |
---|---|
|
Property name |
DELETE /v2/users/properties/user.property.name HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/v2/users/properties/user.property.name' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
5. Appendix A: Forbidden file names
-
new
-
delete
-
download
-
clipboard
6. Appendix B: Forbidden user names
-
invite
-
list
-
tags
-
anonymous
-
websocket
-
webhooks
-
messages
-
signup
-
site
-
ping
-
static
-
customise
-
users
-
uses
-
password
-
settings
-
search
-
packages
-
clientcountry
-
shares
-
login
-
verify_code
-
.
-
favicon.ico
-
robots.txt
-
new_space
-
new_space_duplicate
-
uncaught_exception
-
access_denied
-
not_found
-
userdata
-
following
-
_jserr
-
api
-
google
-
linkedin
-
image
-
messages
-
mentions
-
token_password
-
requests
-
activity
-
activity_share
-
tracking
-
events
-
tasks
-
spaces
-
people
-
pages
-
discussions
-
files
-
generalinfo
-
tinymce
-
getting_started
-
conversation
-
notifications
-
members
-
websocket
-
webhooks
7. Appendix C: Forbidden group names
-
websocket
-
webhooks
-
messages
-
signup
-
site
-
ping
-
static
-
customise
-
users
-
uses
-
password
-
settings
-
search
-
packages
-
clientcountry
-
shares
-
login
-
verify_code
-
.
-
favicon.ico
-
robots.txt
-
new_space
-
new_space_duplicate
-
uncaught_exception
-
access_denied
-
not_found
-
userdata
-
following
-
_jserr
-
api
-
google
-
linkedin
-
image
-
messages
-
mentions
-
token_password
-
requests
-
activity
-
activity_share
-
tracking
-
events
-
tasks
-
spaces
-
people
-
pages
-
discussions
-
files
-
generalinfo
-
tinymce
-
getting_started
-
conversation
-
notifications
-
members
-
websocket
-
webhooks
8. Appendix D: Update templates
update.organisation.create={0} created account {1} update.organisation.disable={0} disabled account {1} update.organisation.enabled={0} enabled account {1} update.user.private={0} said update.user.profile={0} said to {4} update.organisation.private={0} in {1} said update.organisation.join={0} joined {1} update.space.private={0} in {2} said update.following.start={0} started following {3} in {2} update.following.stop={0} stopped following {3} in {2} update.discussion.create={0} created new [discussions:0:0] {3} in {2} update.discussion.update={0} updated [discussions:0:0] {3} in {2} update.discussion.createreply={0} replied to [discussions:0:0] {3} in {2} update.space.create={0} created a new [spaces:0:0] {2} update.space.join={0} joined {2} [spaces:0:0] update.trash.remove={0} deleted [spaces:0:0] {2} update.trash.restore={0} restored [spaces:0:0] {2} update.trash.delete={0} deleted [spaces:0:0] {2} from {1} trash update.filestore.create={0} uploaded [files:0:0] {3} in {2} update.filestore.update={0} updated [files:0:0] {3} in {2} update.filestore.folder={0} created folder {3} in {2} update.filestore.sign=The agreement <strong>{5}</strong> for file {3} in {2} is signed and ready to download. update.filestore.rename={0} renamed "{5}" to {3} in {2} update.filestore.move={0} moved {3} to "{5}" in {2} update.filestore.copy={0} copied {3} to "{5}" in {2} update.filestore.approval.accept={0} approved [files:0:0] {3} in {2} update.filestore.approval.reject={0} rejected [files:0:0] {3} in {2} update.event.create={0} created [events:0:0] {3} in {2} update.event.createandassign={0} created [events:0:0] {3} in {2} update.event.update={0} updated [events:0:0] {3} in {2} update.event.updateandassign={0} updated [events:0:0] {3} in {2} update.task.create={0} created [tasks:0:0] {3} in {2} update.task.createandassign={0} created [tasks:0:0] {3} in {2} update.task.update={0} updated [tasks:0:0] {3} in {2} update.task.updateandassign={0} updated [tasks:0:0] {3} in {2} update.task.complete={0} completed [tasks:0:0] {3} in {2} update.task.reopen={0} marked [tasks:0:0] {3} as incomplete in {2} update.attachment.create={0} attached file {5} to {3} in {2} update.attachment.update={0} updated attachment {5} in {3} update.page.create={0} created new [pages:0:0] {3} in {2} update.page.update={0} updated [pages:0:0] {3} in {2} update.page.restore={0} restored [pages:0:0] {3} version {5} in {2} update.page.renameandupdate={0} moved [pages:0:0] {5} to {3} in {2} update.news.create={0} created new [news:0:0] {3} in {2} update.news.update={0} updated [news:0:0] {3} in {2} update.news.restore={0} restored [news:0:0] {3} version {5} in {2} update.news.renameandupdate={0} moved [news:0:0] {5} to {3} in {2} update.comment.create={0} commented on {3} in {2} update.comment.update={0} updated comment on {3} in {2} update.comment.delete={0} deleted comment from {3} in {2} update.comment.reply={0} replied on {3} in {2} update.comment.reaction={0} reacted to a comment on {3} in {2} update.annotate.create={0} annotated {3} in {2} update.annotate.delete={0} deleted annotation from {3} in {2} update.space.trash.filerecord.create={0} deleted {3} in {2} update.space.trash.filerecord.attemptRestore={0} restored {3} in {2} update.space.trash.filerecord.delete={0} permanently deleted {3} from {2} trash update.space.trash.page.create={0} deleted [pages:0:0] {3} in {2} update.space.trash.page.attemptRestore={0} restored [pages:0:0] {3} in {2} update.space.trash.page.delete={0} permanently deleted [pages:0:0] {3} from {2} trash update.space.trash.news.create={0} deleted [news:0:0] {3} in {2} update.space.trash.news.attemptRestore={0} restored [news:0:0] {3} in {2} update.space.trash.news.delete={0} permanently deleted [news:0:0] {3} from {2} trash update.space.trash.discussion.create={0} deleted [discussions:0:0] {3} in {2} update.space.trash.discussion.attemptRestore={0} restored [discussions:0:0] {3} in {2} update.space.trash.discussion.delete={0} permanently deleted [discussions:0:0] {3} from {2} trash update.space.trash.event.create={0} deleted [events:0:0] {3} in {2} update.space.trash.event.attemptRestore={0} restored [events:0:0] {3} in {2} update.space.trash.event.delete={0} permanently deleted [events:0:0] {3} from {2} trash update.space.trash.task.create={0} deleted [tasks:0:0] {3} in {2} update.space.trash.task.attemptRestore={0} restored [tasks:0:0] {3} in {2} update.space.trash.task.delete={0} permanently deleted [tasks:0:0] {3} from {2} trash update.space.rename={0} renamed [spaces:0:0] {5} to {2} update.space.move={0} moved [spaces:0:0] {2} from {3} update.space.remove={0} removed [spaces:0:0] {2} update.space.restore={0} restored [spaces:0:0] {2} from trash update.attachment.create.notify={0} attached the file {2} to {1} update.attachment.update.notify={0} updated the attachment {2} to {1} update.discussion.createreply.notify={0} replied to [discussions:0:0] {1} update.event.update.notify={0} edited the [events:0:0] {1} update.event.updateandassign.notify={0} edited the [events:0:0] {1} update.filestore.update.notify={0} edited the [files:0:0] {1} update.filestore.folder.notify={0} created folder {1} update.filestore.create.notify={0} created a new [files:0:0] {1} update.page.update.notify={0} changed the [pages:0:0] {1} update.page.renameandupdate.notify={0} changed the [pages:0:0] {1} update.space.trash.discussion.create.notify={0} deleted the [discussions:0:0] {1} update.space.trash.event.create.notify={0} deleted the [events:0:0] {1} update.space.trash.filerecord.create.notify={0} deleted the [files:0:0] {1} update.space.trash.news.create.notify={0} deleted the [news:0:0] {1} update.space.trash.page.create.notify={0} deleted the [pages:0:0] {1} update.space.trash.task.create.notify={0} deleted the [tasks:0:0] {1} update.space.trash.discussion.attemptRestore.notify={0} restored the [discussions:0:0] {1} update.space.trash.event.attemptRestore.notify={0} restored the [events:0:0] {1} update.space.trash.filerecord.attemptRestore.notify={0} restored the [files:0:0] {1} update.space.trash.page.attemptRestore.notify={0} restored the [pages:0:0] {1} update.space.trash.news.attemptRestore.notify={0} restored the [news:0:0] {1} update.space.trash.task.attemptRestore.notify={0} restored the [tasks:0:0] {1} update.task.complete.notify={0} completed the [tasks:0:0] {1} update.task.reopen.notify={0} marked the [tasks:0:0] {1} as uncompleted update.task.update.notify={0} changed the [tasks:0:0] {1} update.task.updateandassign.notify={0} changed the [tasks:0:0] {1} update.comment.create.notify={0} commented on {1} update.comment.reply.notify={0} commented on {1}