Download OpenAPI specification:Download
Get attachment list
| pageId required | string page id |
| pageNumber | number Example: pageNumber=1 page number |
| limit | number Example: limit=10 limit |
{- "docs": [
- {
- "id": "5e0734e072560e001761fa67",
- "_id": "5e0734e072560e001761fa67",
- "__v": 0,
- "attachmentType": "WIKI_PAGE",
- "fileFormat": "text/plain",
- "fileName": "601b7c59d43a042c0117e08dd37aad0aimage.txt",
- "originalName": "file.txt",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "page": "5e07345972560e001761fa63",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "temporaryUrlExpiredAt": "2024-11-27T00:59:59.962Z",
- "fileSize": 3494332,
- "filePathProxied": "/attachment/5e0734e072560e001761fa67",
- "downloadPathProxied": "/download/5e0734e072560e001761fa67",
}
], - "totalDocs": 1,
- "limit": 20,
- "totalPages": 1,
- "page": 1,
- "offset": 0,
- "prevPage": null,
- "nextPage": null,
- "hasNextPage": false,
- "hasPrevPage": false,
- "pagingCounter": 1
}Add attachment to the page
| page_id | string |
| file | string <binary> attachment data |
{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "attachment": {
- "id": "5e0734e072560e001761fa67",
- "_id": "5e0734e072560e001761fa67",
- "__v": 0,
- "attachmentType": "WIKI_PAGE",
- "fileFormat": "text/plain",
- "fileName": "601b7c59d43a042c0117e08dd37aad0aimage.txt",
- "originalName": "file.txt",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "page": "5e07345972560e001761fa63",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "temporaryUrlExpiredAt": "2024-11-27T00:59:59.962Z",
- "fileSize": 3494332,
- "filePathProxied": "/attachment/5e0734e072560e001761fa67",
- "downloadPathProxied": "/download/5e0734e072560e001761fa67",
}, - "revision": "string"
}Get attachment
| id required | string attachment id |
{- "attachment": {
- "id": "5e0734e072560e001761fa67",
- "_id": "5e0734e072560e001761fa67",
- "__v": 0,
- "attachmentType": "WIKI_PAGE",
- "fileFormat": "text/plain",
- "fileName": "601b7c59d43a042c0117e08dd37aad0aimage.txt",
- "originalName": "file.txt",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "page": "5e07345972560e001761fa63",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "temporaryUrlExpiredAt": "2024-11-27T00:59:59.962Z",
- "fileSize": 3494332,
- "filePathProxied": "/attachment/5e0734e072560e001761fa67",
- "downloadPathProxied": "/download/5e0734e072560e001761fa67",
}
}Get bookmarked info
| pageId | string page id |
{- "sumOfBookmarks": 0,
- "isBookmarked": true,
- "pageId": "5e07345972560e001761fa63",
- "bookmarkedUsers": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
]
}Get my bookmarked status
| userId required | string user id |
{- "userRootBookmarks": [
- {
- "_id": "5e07345972560e001761fa63",
- "__v": 0,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "user": "5ae5fccfc5577b0004dbd8ab"
}
]
}Update bookmarked status
| pageId | string page ID |
| bool | boolean boolean for bookmark status |
{- "pageId": "5e07345972560e001761fa63",
- "bool": true
}{- "bookmark": {
- "_id": "5e07345972560e001761fa63",
- "__v": 0,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "user": "5ae5fccfc5577b0004dbd8ab"
}
}Create a new bookmark folder
| name | string Name of the bookmark folder |
| parent | string Parent folder ID |
{- "name": "string",
- "parent": "string"
}{- "bookmarkFolder": {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
}Update a bookmark folder
| bookmarkFolderId | string Bookmark Folder ID |
| name | string Name of the bookmark folder |
| parent | string Parent folder ID |
Array of objects (BookmarkFolder) Child folders |
{- "bookmarkFolderId": "string",
- "name": "string",
- "parent": "string",
- "childFolder": [
- {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
]
}{- "bookmarkFolder": {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
}List bookmark folders of a user
| userId required | string User ID |
{- "bookmarkFolderItems": [
- {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
]
}Update a bookmark folder
| pageId | string Page ID |
| folderId | string or null Folder ID |
{- "pageId": "string",
- "folderId": "string"
}{- "bookmarkFolder": {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
}Update a bookmark in a folder
| pageId | string Page ID |
| status | string Bookmark status |
{- "pageId": "string",
- "status": "string"
}{- "bookmarkFolder": {
- "_id": "string",
- "__v": 0,
- "name": "string",
- "owner": "string",
- "bookmarks": [
- {
- "_id": "string",
- "user": "string",
- "createdAt": "string",
- "__v": 0,
- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": "669a5aa48d45e62b521d00e4",
- "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "id": "671b5cd38d45e62b52217ff8",
- "parent": "669a5aa48d45e62b521d00da",
- "descendantCount": 0,
- "isEmpty": false,
- "grantedGroups": [
- "string"
], - "latestRevisionBodyLength": 241
}
}
], - "childFolder": [
- { }
]
}
}get page by pagePath or pageId
| pageId | string (ObjectId) Example: pageId=5ae5fccfc5577b0004dbd8ab page id |
| path | string (PagePath) Example: path=/path/to/page page path |
{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Create page
| body required | string Text of page |
| path required | string (PagePath) Page path |
| grant | number (PageGrant) Grant for page |
Array of objects | |
| pageTags | Array of strings |
{- "body": "string",
- "path": "/path/to/page",
- "grant": 1,
- "grantUserGroupIds": [
- {
- "type": "UserGroup",
- "item": "5ae5fccfc5577b0004dbd8ab"
}
], - "pageTags": [
- "string"
]
}{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "tags": [
- [
- "daily",
- "report",
- "tips"
]
], - "revision": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "format": "markdown",
- "pageId": "string",
- "body": "# Header\n\n- foo\n- bar\n",
- "author": "5ae5fccfc5577b0004dbd8ab",
- "origin": "string",
- "hasDiffToPrev": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "__v": 0,
- "path": "/user/alice/test"
}
}Update page
| body required | string (RevisionBody) Revision content body |
| pageId required | string (ObjectId) Object ID |
| revisionId required | string (ObjectId) Object ID |
| grant | number (PageGrant) Grant for page |
Array of objects | |
| overwriteScopesOfDescendants | boolean Determine whether the scopes of descendants should be overwritten |
| isSlackEnabled | boolean Determine whether the page is enabled to be posted to Slack |
| slackChannels | string Slack channel IDs |
| origin | string Origin is "view" or "editor" |
| wip | boolean Determine whether the page is WIP |
{- "body": "# Header\n\n- foo\n- bar\n",
- "pageId": "5ae5fccfc5577b0004dbd8ab",
- "revisionId": "5ae5fccfc5577b0004dbd8ab",
- "grant": 1,
- "userRelatedGrantUserGroupIds": [
- {
- "type": "UserGroup",
- "item": "5ae5fccfc5577b0004dbd8ab"
}
], - "overwriteScopesOfDescendants": true,
- "isSlackEnabled": true,
- "slackChannels": "string",
- "origin": "string",
- "wip": true
}{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "revision": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "format": "markdown",
- "pageId": "string",
- "body": "# Header\n\n- foo\n- bar\n",
- "author": "5ae5fccfc5577b0004dbd8ab",
- "origin": "string",
- "hasDiffToPrev": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "__v": 0,
- "path": "/user/alice/test"
}
}Update liked status
| pageId | string page ID |
| bool | boolean boolean for like status |
{- "pageId": "5e07345972560e001761fa63",
- "bool": true
}{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Get summary informations for a page
| pageId required | string (ObjectId) Example: pageId=5ae5fccfc5577b0004dbd8ab page id |
{- "isV5Compatible": true,
- "isEmpty": true,
- "isMovable": true,
- "isDeletable": true,
- "isAbleToDeleteCompletely": true,
- "isRevertible": true
}Check if non-user related groups are granted access to a specific page or its closest ancestor
| path required | string Path of the page |
{- "isNonUserRelatedGroupsGranted": true
}Update the grant of a specific page
| pageId required | string ID of the page |
| grant | number Grant level |
| userRelatedGrantedGroups | Array of strings Array of user-related granted group IDs |
{- "grant": 0,
- "userRelatedGrantedGroups": [
- "string"
]
}{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Update subscription status
| pageId | string (ObjectId) Object ID |
{- "pageId": "5ae5fccfc5577b0004dbd8ab"
}{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Update the content width setting for a specific page
| pageId required | string ID of the page |
| expandContentWidth | boolean Whether to expand the content width |
{- "expandContentWidth": true
}{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
}Publish a specific page
| pageId required | string ID of the page |
{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Unpublish a specific page
| pageId required | string ID of the page |
{- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}Sync the latest revision body to the Yjs draft for a specific page
| pageId required | string ID of the page |
| editingMarkdownLength | integer Length of the editing markdown |
{- "editingMarkdownLength": 0
}{- "synced": true,
- "isYjsDataBroken": true
}Rename page
| pageId required | string (ObjectId) Object ID |
| path | string (PagePath) Page path |
| newPagePath | string new path |
| isRenameRedirect | boolean whether redirect page |
| updateMetadata | boolean whether update meta data |
| isRecursively | boolean whether rename page with descendants |
{- "pageId": "5ae5fccfc5577b0004dbd8ab",
- "path": "/path/to/page",
- "newPagePath": "/user/alice/new_test",
- "isRenameRedirect": true,
- "updateMetadata": true,
- "isRecursively": true
}{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
}Resume rename page operation
| pageId required | string (ObjectId) Object ID |
{- "pageId": "5ae5fccfc5577b0004dbd8ab"
}{ }{- "deletablePages": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
]
}Get list of pages
| path | string Path to search |
| limit | number Limit of acquisitions |
| page | number Page number |
{- "totalCount": 3,
- "offset": 0,
- "limit": 10,
- "pages": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
]
}Duplicate page
| pageId required | string (ObjectId) Object ID |
| pageNameInput | string (PagePath) Page path |
| isRecursively | boolean whether duplicate page with descendants |
| onlyDuplicateUserRelatedResources | boolean whether duplicate only user related resources |
{- "pageId": "5ae5fccfc5577b0004dbd8ab",
- "pageNameInput": "/path/to/page",
- "isRecursively": true,
- "onlyDuplicateUserRelatedResources": true
}{- "page": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
}Get subordinated pages
| path | string Parent path of search |
| limit | number Limit of acquisitions |
{- "subordinatedPages": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
]
}Delete pages
| pageIdToRevisionIdMap | object Map of page IDs to revision IDs |
| isCompletely | boolean Whether to delete pages completely |
| isRecursively | boolean Whether to delete pages recursively |
| isAnyoneWithTheLink | boolean Whether the page is restricted to anyone with the link |
{- "pageIdToRevisionIdMap": {
- "5e2d6aede35da4004ef7e0b7": "5e07345972560e001761fa63"
}, - "isCompletely": true,
- "isRecursively": true,
- "isAnyoneWithTheLink": true
}{- "paths": [
- "string"
], - "isRecursively": true,
- "isCompletely": true
}Convert pages by path
| convertPath | string Path to convert |
{- "convertPath": "/user/alice"
}{ }Migrate legacy pages
| pageIds | Array of strings List of page IDs to migrate |
| isRecursively | boolean Whether to migrate pages recursively |
{- "pageIds": [
- "string"
], - "isRecursively": true
}{ }{- "rootPage": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "path": "/path/to/page",
- "parent": "/path/to/page",
- "grant": 1,
- "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "descendantCount": 0,
- "isEmpty": true,
- "wip": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
}Get the children of a page
| id | string |
| path | string |
{- "children": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "path": "/path/to/page",
- "parent": "/path/to/page",
- "grant": 1,
- "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "descendantCount": 0,
- "isEmpty": true,
- "wip": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
]
}Get summary information of pages
| pageIds | Array of strings Array of page IDs to retrieve information for (One of pageIds or path is required) |
| path | string Path of the page to retrieve information for (One of pageIds or path is required) |
| attachBookmarkCount | boolean |
| attachShortBody | boolean |
{- "property1": {
- "isV5Compatible": true,
- "isEmpty": true,
- "isMovable": true,
- "isDeletable": true,
- "isAbleToDeleteCompletely": true,
- "isRevertible": true
}, - "property2": {
- "isV5Compatible": true,
- "isEmpty": true,
- "isMovable": true,
- "isDeletable": true,
- "isAbleToDeleteCompletely": true,
- "isRevertible": true
}
}Get a single page item for tree display
| id required | string |
{- "item": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "path": "/path/to/page",
- "parent": "/path/to/page",
- "grant": 1,
- "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "descendantCount": 0,
- "isEmpty": true,
- "wip": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}
}Get revisions by page id
| pageId | string page id |
| page | number selected page number |
| limit | number page item limit |
{- "revisions": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "format": "markdown",
- "pageId": "string",
- "body": "# Header\n\n- foo\n- bar\n",
- "author": "5ae5fccfc5577b0004dbd8ab",
- "origin": "string",
- "hasDiffToPrev": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "__v": 0,
- "path": "/user/alice/test"
}
], - "totalCount": 0,
- "offset": 0
}Get one revision by id
| id required | string revision id |
| pageId required | string page id |
{- "revision": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "format": "markdown",
- "pageId": "string",
- "body": "# Header\n\n- foo\n- bar\n",
- "author": "5ae5fccfc5577b0004dbd8ab",
- "origin": "string",
- "hasDiffToPrev": true,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "__v": 0,
- "path": "/user/alice/test"
}
}string <email> Email address of the user requesting password reset |
{- "email": "user@example.com"
}{ }| newPassword | string <password> New password |
{- "newPassword": "pa$$word"
}{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Activate invited user
object |
{- "invitedForm": {
- "username": "string",
- "name": "string",
- "password": "string"
}
}{- "redirectTo": "string"
}{- "registerForm": {
- "username": "string",
- "name": "string",
- "password": "string",
- "token": "string",
- "email": "string"
}
}{- "redirectTo": "string"
}Select selected columns from users order by asc or desc
| page | number page number |
| selectedStatusList | string status list |
| searchText | string For incremental search value from input box |
| sortOrder | string asc or desc |
| sort | string sorting column |
| forceIncludeAttributes | string force include attributes |
{- "paginateResult": {
- "docs": [
- { }
], - "totalDocs": 0,
- "limit": 10,
- "hasPrevPage": 0,
- "hasNextPage": 0,
- "page": 0,
- "totalPages": 0,
- "offset": 0,
- "prefPage": 0,
- "nextPage": 0,
- "pagingCounter": 0,
- "meta": 0
}
}| id required | string id of user |
{- "paginateResult": {
- "docs": [
- { }
], - "totalDocs": 0,
- "limit": 10,
- "hasPrevPage": 0,
- "hasNextPage": 0,
- "page": 0,
- "totalPages": 0,
- "offset": 0,
- "prefPage": 0,
- "nextPage": 0,
- "pagingCounter": 0,
- "meta": 0
}
}Get list of users
| userIds | string Example: userIds=5e06fcc7516d64004dbf4da6,5e098d53baa2ac004e7d24ad user IDs |
{- "users": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
]
}Get list of usernames
| q | string Example: q=alice query string to search usernames |
| offset | integer Example: offset=0 offset for pagination |
| limit | integer Example: limit=10 limit for pagination |
| options | string Example: options={"isIncludeActiveUser": true, "isIncludeInactiveUser": true, "isIncludeActivitySnapshotUser": true, "isIncludeMixedUsernames": true} options for including different types of users |
{- "activeUser": {
- "usernames": [
- "string"
], - "totalCount": 0
}, - "inactiveUser": {
- "usernames": [
- "string"
], - "totalCount": 0
}, - "activitySnapshotUser": {
- "usernames": [
- "string"
], - "totalCount": 0
}, - "mixedUsernames": [
- "string"
]
}object |
{- "registerForm": {
- "name": "string",
- "username": "string",
- "email": "string",
- "password": "string"
}
}{- "redirectTo": "string"
}Update the user's UI settings
object |
{- "settings": {
- "currentSidebarContents": "string",
- "currentProductNavWidth": 0,
- "preferCollapsedModeByUser": true
}
}{- "_id": "string",
- "user": "string",
- "__v": 0,
- "currentSidebarContents": "string",
- "preferCollapsedModeByUser": true
}Update personal setting
| name | string |
string | |
| lang | string |
| isEmailPublished | boolean |
| slackMemberId | string |
{- "name": "string",
- "email": "string",
- "lang": "string",
- "isEmailPublished": true,
- "slackMemberId": "string"
}{- "updatedUser": { }
}Update user image type
| isGravatarEnabled | boolean |
{- "isGravatarEnabled": true
}{- "userData": { }
}Update user password
| oldPassword | string |
| newPassword | string |
{- "oldPassword": "string",
- "newPassword": "string"
}{- "userData": { }
}associate Ldap account
| username | string |
{- "username": "string"
}{- "associateUser": { }
}disassociate Ldap account
| providerType | string |
| accountId | string |
{- "providerType": "string",
- "accountId": "string"
}{- "disassociateUser": { }
}Put editor preferences
| theme | string |
| keymapMode | string |
| styleActiveLine | boolean |
| autoFormatMarkdownTable | boolean |
{- "theme": "string",
- "keymapMode": "string",
- "styleActiveLine": true,
- "autoFormatMarkdownTable": true
}{ }Put InAppNotificationSettings
Array of objects |
{- "subscribeRules": [
- {
- "name": "string",
- "isEnabled": true
}
]
}{ }| limit | integer |
| offset | integer |
| searchFilter | string |
{- "serializedPaginationResult": {
- "docs": [
- {
- "_id": "67e33da5d97e8d3b53e99f95",
- "id": "67e33da5d97e8d3b53e99f95",
- "ip": "::ffff:172.18.0.1",
- "endpoint": "/_api/pages.remove",
- "targetModel": "Page",
- "target": "675547e97f208f8050a361d4",
- "action": "PAGE_UPDATE",
- "snapshot": {
- "username": "growi",
- "_id": "67e33da5d97e8d3b53e99f96"
}, - "createdAt": "2025-03-25T23:35:01.584Z",
- "__v": 0,
- "user": {
- "_id": "669a5aa48d45e62b521d00e4",
- "isGravatarEnabled": false,
- "isEmailPublished": true,
- "lang": "ja_JP",
- "status": 2,
- "admin": true,
- "readOnly": false,
- "isInvitationEmailSended": false,
- "name": "Taro",
- "username": "growi",
- "createdAt": "2024-07-19T12:23:00.806Z",
- "updatedAt": "2025-03-25T23:34:04.362Z",
- "__v": 0,
- "imageUrlCached": "/images/icons/user.svg",
- "lastLoginAt": "2025-03-25T23:34:04.355Z",
- "email": "test@example.com"
}
}
], - "totalDocs": 3,
- "offset": 0,
- "limit": 10,
- "totalPages": 1,
- "page": 1,
- "pagingCounter": 1,
- "hasPrevPage": false,
- "hasNextPage": false,
- "prevPage": null,
- "nextPage": null
}
}{- "adminHomeParams": {
- "growiVersion": "7.1.0-RC.0",
- "nodeVersion": "20.2.0",
- "npmVersion": "9.6.6",
- "pnpmVersion": "9.12.3",
- "envVars": {
- "FILE_UPLOAD": "mongodb",
- "ELASTICSEARCH_REQUEST_TIMEOUT": 15000,
- "ELASTICSEARCH_REJECT_UNAUTHORIZED": true,
}, - "isV5Compatible": true,
- "isMaintenanceMode": false
}
}Update fileUploadSetting
| fileUploadType | string fileUploadType |
| s3Region | string region of AWS S3 |
| s3CustomEndpoint | string custom endpoint of AWS S3 |
| s3Bucket | string AWS S3 bucket name |
| s3AccessKeyId | string accesskey id for authentification of AWS |
| s3SecretAccessKey | string secret key for authentification of AWS |
| s3ReferenceFileWithRelayMode | boolean is enable internal stream system for s3 file request |
| gcsApiKeyJsonPath | string apiKeyJsonPath of gcp |
| gcsBucket | string bucket name of gcs |
| gcsUploadNamespace | string name space of gcs |
| gcsReferenceFileWithRelayMode | boolean is enable internal stream system for gcs file request |
| azureTenantId | string tenant id of azure |
| azureClientId | string client id of azure |
| azureClientSecret | string client secret of azure |
| azureStorageAccountName | string storage account name of azure |
| azureStorageContainerName | string storage container name of azure |
| azureReferenceFileWithRelayMode | boolean is enable internal stream system for azure file request |
{- "fileUploadType": "string",
- "s3Region": "string",
- "s3CustomEndpoint": "string",
- "s3Bucket": "string",
- "s3AccessKeyId": "string",
- "s3SecretAccessKey": "string",
- "s3ReferenceFileWithRelayMode": true,
- "gcsApiKeyJsonPath": "string",
- "gcsBucket": "string",
- "gcsUploadNamespace": "string",
- "gcsReferenceFileWithRelayMode": true,
- "azureTenantId": "string",
- "azureClientId": "string",
- "azureClientSecret": "string",
- "azureStorageAccountName": "string",
- "azureStorageContainerName": "string",
- "azureReferenceFileWithRelayMode": true
}{- "responseParams": {
- "fileUploadType": "string",
- "s3Region": "string",
- "s3CustomEndpoint": "string",
- "s3Bucket": "string",
- "s3AccessKeyId": "string",
- "s3SecretAccessKey": "string",
- "s3ReferenceFileWithRelayMode": true,
- "gcsApiKeyJsonPath": "string",
- "gcsBucket": "string",
- "gcsUploadNamespace": "string",
- "gcsReferenceFileWithRelayMode": true,
- "azureTenantId": "string",
- "azureClientId": "string",
- "azureClientSecret": "string",
- "azureStorageAccountName": "string",
- "azureStorageContainerName": "string",
- "azureReferenceFileWithRelayMode": true
}
}{- "appSettingsParams": {
- "azureReferenceFileWithRelayMode": false,
- "azureUseOnlyEnvVars": false,
- "confidential": "GROWI",
- "envAzureClientId": "AZURE_CLIENT_ID",
- "envAzureClientSecret": "AZURE_CLIENT_SECRET",
- "envAzureStorageAccountName": "AZURE_STORAGE_ACCOUNT_NAME",
- "envAzureStorageContainerName": "AZURE_STORAGE_CONTAINER_NAME",
- "envFileUploadType": "mongodb",
- "envGcsApiKeyJsonPath": "GCS_API_KEY_JSON_PATH",
- "envGcsBucket": "GCS_BUCKET",
- "envGcsUploadNamespace": "GCS_UPLOAD_NAMESPACE",
- "fileUpload": true,
- "fileUploadType": "local",
- "fromAddress": "info@growi.org",
- "gcsApiKeyJsonPath": "GCS_API_KEY_JSON_PATH",
- "gcsBucket": "GCS_BUCKET",
- "gcsReferenceFileWithRelayMode": false,
- "gcsUploadNamespace": "GCS_UPLOAD_NAMESPACE",
- "gcsUseOnlyEnvVars": false,
- "globalLang": "ja_JP",
- "isAppSiteUrlHashed": false,
- "isEmailPublishedForNewUser": true,
- "isMaintenanceMode": false,
- "isV5Compatible": true,
- "s3AccessKeyId": "string",
- "s3Bucket": "string",
- "s3CustomEndpoint": "string",
- "s3ReferenceFileWithRelayMode": true,
- "s3Region": "string",
- "siteUrl": "string",
- "siteUrlUseOnlyEnvVars": true,
- "smtpHost": "string",
- "smtpPassword": "string",
- "smtpPort": "string",
- "smtpUser": "string",
- "useOnlyEnvVarForFileUploadType": true
}
}Update app setting
| title | string title of the site |
| confidential | string confidential show on page header |
| globalLang | string global language |
| isEmailPublishedForNewUser | boolean is email published for new user, or not |
| fileUpload | boolean is file upload enabled, or not |
{- "title": "GROWI",
- "confidential": "GROWI",
- "globalLang": "ja_JP",
- "isEmailPublishedForNewUser": true,
- "fileUpload": true
}{- "appSettingParams": {
- "title": "GROWI",
- "confidential": "GROWI",
- "globalLang": "ja_JP",
- "isEmailPublishedForNewUser": true,
- "fileUpload": true
}
}Update site url setting
| siteUrl | string Site URL. e.g. https://example.com, https://example.com:8080 |
| envSiteUrl | string environment variable 'APP_SITE_URL' |
{- "siteUrl": "string",
- "envSiteUrl": "string"
}{
}Update smtp setting
| smtpHost | string host name of client's smtp server |
| smtpPort | string port of client's smtp server |
| smtpUser | string user name of client's smtp server |
| smtpPassword | string password of client's smtp server |
| fromAddress | string e-mail address |
{- "smtpHost": "smtp.example.com",
- "smtpPort": "587",
- "smtpUser": "USER",
- "smtpPassword": "PASSWORD",
- "fromAddress": "info@example.com"
}{- "mailSettingParams": {
- "isMailerSetup": true,
- "smtpHost": "smtp.example.com",
- "smtpPort": "587",
- "smtpUser": "USER",
- "smtpPassword": "PASSWORD",
- "fromAddress": "info@example.com"
}
}Update ses setting
| from | string e-mail address used as from address of mail which sent from GROWI app |
| transmissionMethod | string transmission method |
| sesAccessKeyId | string accesskey id for authentification of AWS |
| sesSecretAccessKey | string secret key for authentification of AWS |
{- "from": "info@growi.org",
- "transmissionMethod": "ses",
- "sesAccessKeyId": "string",
- "sesSecretAccessKey": "string"
}{- "isMailerSetup": true,
- "from": "info@growi.org",
- "transmissionMethod": "ses",
- "sesAccessKeyId": "string",
- "sesSecretAccessKey": "string"
}Get user group relations
| groupIds | Array of strings The group IDs to get relations for |
| childGroupIds | Array of strings The child group IDs to get relations for |
{- "userGroupRelations": [
- { }
], - "relationsOfChildGroups": [
- { }
]
}| page | integer Page number for pagination |
| limit | integer Number of items per page |
| offset | integer Offset for pagination |
| pagination | boolean Whether to enable pagination |
{- "userGroups": [
- { }
], - "totalUserGroups": 0,
- "pagingLimit": 0
}| parentIds | Array of strings The IDs of the parent user groups |
| includeGrandChildren | boolean Whether to include grandchild user groups |
{- "childUserGroups": [
- { }
], - "grandChildUserGroups": [
- { }
]
}| id required | string The ID of the external user group |
| actionName required | string The action to perform on group delete |
| transferToUserGroupId | string The ID of the user group to transfer to |
| transferToUserGroupType | string The type of the user group to transfer to |
{- "userGroups": [
- { }
]
}| id required | string The ID of the external user group |
| description | string |
{- "description": "string"
}{- "userGroup": { }
}{- "ldapGroupSearchBase": "string",
- "ldapGroupMembershipAttribute": "string",
- "ldapGroupMembershipAttributeType": "string",
- "ldapGroupChildGroupAttribute": "string",
- "autoGenerateUserOnLdapGroupSync": true,
- "preserveDeletedLdapGroups": true,
- "ldapGroupNameAttribute": "string",
- "ldapGroupDescriptionAttribute": "string"
}| ldapGroupSearchBase | string |
| ldapGroupMembershipAttribute | string |
| ldapGroupMembershipAttributeType | string |
| ldapGroupChildGroupAttribute | string |
| autoGenerateUserOnLdapGroupSync | boolean |
| preserveDeletedLdapGroups | boolean |
| ldapGroupNameAttribute | string |
| ldapGroupDescriptionAttribute | string |
{- "ldapGroupSearchBase": "string",
- "ldapGroupMembershipAttribute": "string",
- "ldapGroupMembershipAttributeType": "string",
- "ldapGroupChildGroupAttribute": "string",
- "autoGenerateUserOnLdapGroupSync": true,
- "preserveDeletedLdapGroups": true,
- "ldapGroupNameAttribute": "string",
- "ldapGroupDescriptionAttribute": "string"
}{ }{- "keycloakHost": "string",
- "keycloakGroupRealm": "string",
- "keycloakGroupSyncClientRealm": "string",
- "keycloakGroupSyncClientID": "string",
- "keycloakGroupSyncClientSecret": "string",
- "autoGenerateUserOnKeycloakGroupSync": true,
- "preserveDeletedKeycloakGroups": true,
- "keycloakGroupDescriptionAttribute": "string"
}| keycloakHost | string |
| keycloakGroupRealm | string |
| keycloakGroupSyncClientRealm | string |
| keycloakGroupSyncClientID | string |
| keycloakGroupSyncClientSecret | string |
| autoGenerateUserOnKeycloakGroupSync | boolean |
| preserveDeletedKeycloakGroups | boolean |
| keycloakGroupDescriptionAttribute | string |
{- "keycloakHost": "string",
- "keycloakGroupRealm": "string",
- "keycloakGroupSyncClientRealm": "string",
- "keycloakGroupSyncClientID": "string",
- "keycloakGroupSyncClientSecret": "string",
- "autoGenerateUserOnKeycloakGroupSync": true,
- "preserveDeletedKeycloakGroups": true,
- "keycloakGroupDescriptionAttribute": "string"
}{ }{- "securityParams": {
- "generalSetting": {
- "restrictGuestMode": "string",
- "pageDeletionAuthority": "string",
- "pageRecursiveDeletionAuthority": "string",
- "pageRecursiveCompleteDeletionAuthority": "string",
- "isAllGroupMembershipRequiredForPageCompleteDeletion": true,
- "pageCompleteDeletionAuthority": "string",
- "hideRestrictedByOwner": true,
- "hideRestrictedByGroup": true,
- "isUsersHomepageDeletionEnabled": true,
- "isForceDeleteUserHomepageOnUserDeletion": true,
- "isRomUserAllowedToComment": true,
- "wikiMode": "string",
- "sessionMaxAge": 0
}, - "shareLinkSetting": {
- "disableLinkSharing": true
}, - "localSetting": {
- "useOnlyEnvVarsForSomeOptions": true,
- "isPasswordResetEnabled": true,
- "isEmailAuthenticationEnabled": true,
- "isLocalEnabled": true,
- "registrationMode": "string",
- "registrationWhitelist": [
- "string"
]
}, - "generalAuth": {
- "isLocalEnabled": true,
- "isLdapEnabled": true,
- "isSamlEnabled": true,
- "isOidcEnabled": true,
- "isGoogleEnabled": true,
- "isGitHubEnabled": true
}, - "ldapAuth": {
- "serverUrl": "string",
- "isUserBind": true,
- "ldapBindDN": "string",
- "ldapBindDNPassword": "string",
- "ldapSearchFilter": "string",
- "ldapAttrMapUsername": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "ldapAttrMapMail": "string",
- "ldapAttrMapName": "string",
- "ldapGroupSearchBase": "string",
- "ldapGroupSearchFilter": "string",
- "ldapGroupDnProperty": "string"
}, - "samlAuth": {
- "missingMandatoryConfigKeys": [
- "string"
], - "useOnlyEnvVarsForSomeOptions": true,
- "samlEntryPoint": "string",
- "samlIssuer": "string",
- "samlEnvVarIssuer": "string",
- "samlCert": "string",
- "samlEnvVarCert": "string",
- "samlAttrMapId": "string",
- "samlAttrMapUserName": "string",
- "samlAttrMapMail": "string",
- "samlEnvVarAttrMapId": "string",
- "samlEnvVarAttrMapUserName": "string",
- "samlEnvVarAttrMapMail": "string",
- "samlAttrMapFirstName": "string",
- "samlAttrMapLastName": "string",
- "samlEnvVarAttrMapFirstName": "string",
- "samlEnvVarAttrMapLastName": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true,
- "samlABLCRule": "string",
- "samlEnvVarABLCRule": "string"
}, - "oidcAuth": {
- "oidcProviderName": "string",
- "oidcIssuerHost": "string",
- "oidcAuthorizationEndpoint": "string",
- "oidcTokenEndpoint": "string",
- "oidcRevocationEndpoint": "string",
- "oidcIntrospectionEndpoint": "string",
- "oidcUserInfoEndpoint": "string",
- "oidcEndSessionEndpoint": "string",
- "oidcRegistrationEndpoint": "string",
- "oidcJWKSUri": "string",
- "oidcClientId": "string",
- "oidcClientSecret": "string",
- "oidcAttrMapId": "string",
- "oidcAttrMapUserName": "string",
- "oidcAttrMapName": "string",
- "oidcAttrMapMail": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true
}, - "googleOAuth": {
- "googleClientId": "string",
- "googleClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}, - "githubOAuth": {
- "githubClientId": "string",
- "githubClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}
}
}Update authentication isEnabled
| isEnabled | boolean |
| authId | string |
{- "isEnabled": true,
- "authId": "string"
}{ }Update GeneralSetting
| restrictGuestMode | string type of restrictGuestMode |
| pageDeletionAuthority | string type of pageDeletionAuthority |
| pageRecursiveDeletionAuthority | string type of pageRecursiveDeletionAuthority |
| pageRecursiveCompleteDeletionAuthority | string type of pageRecursiveCompleteDeletionAuthority |
| isAllGroupMembershipRequiredForPageCompleteDeletion | boolean enable all group membership required for page complete deletion |
| pageCompleteDeletionAuthority | string type of pageDeletionAuthority |
| hideRestrictedByOwner | boolean enable hide by owner |
| hideRestrictedByGroup | boolean enable hide by group |
| isUsersHomepageDeletionEnabled | boolean enable user homepage deletion |
| isForceDeleteUserHomepageOnUserDeletion | boolean enable force delete user homepage on user deletion |
| isRomUserAllowedToComment | boolean enable rom user allowed to comment |
| wikiMode | string type of wikiMode |
| sessionMaxAge | integer max age of session |
{- "restrictGuestMode": "string",
- "pageDeletionAuthority": "string",
- "pageRecursiveDeletionAuthority": "string",
- "pageRecursiveCompleteDeletionAuthority": "string",
- "isAllGroupMembershipRequiredForPageCompleteDeletion": true,
- "pageCompleteDeletionAuthority": "string",
- "hideRestrictedByOwner": true,
- "hideRestrictedByGroup": true,
- "isUsersHomepageDeletionEnabled": true,
- "isForceDeleteUserHomepageOnUserDeletion": true,
- "isRomUserAllowedToComment": true,
- "wikiMode": "string",
- "sessionMaxAge": 0
}{- "restrictGuestMode": "string",
- "pageDeletionAuthority": "string",
- "pageRecursiveDeletionAuthority": "string",
- "pageRecursiveCompleteDeletionAuthority": "string",
- "isAllGroupMembershipRequiredForPageCompleteDeletion": true,
- "pageCompleteDeletionAuthority": "string",
- "hideRestrictedByOwner": true,
- "hideRestrictedByGroup": true,
- "isUsersHomepageDeletionEnabled": true,
- "isForceDeleteUserHomepageOnUserDeletion": true,
- "isRomUserAllowedToComment": true,
- "wikiMode": "string",
- "sessionMaxAge": 0
}Update LocalSetting
| useOnlyEnvVarsForSomeOptions | boolean use only env vars for some options |
| isPasswordResetEnabled | boolean enable password reset |
| isEmailAuthenticationEnabled | boolean enable email authentication |
| isLocalEnabled | boolean local setting mode |
| registrationMode | string type of registrationMode |
| registrationWhitelist | Array of strings array of regsitrationList |
{- "useOnlyEnvVarsForSomeOptions": true,
- "isPasswordResetEnabled": true,
- "isEmailAuthenticationEnabled": true,
- "isLocalEnabled": true,
- "registrationMode": "string",
- "registrationWhitelist": [
- "string"
]
}{- "localSettingParams": {
- "useOnlyEnvVarsForSomeOptions": true,
- "isPasswordResetEnabled": true,
- "isEmailAuthenticationEnabled": true,
- "isLocalEnabled": true,
- "registrationMode": "string",
- "registrationWhitelist": [
- "string"
]
}
}Update LDAP setting
| serverUrl | string server url for ldap |
| isUserBind | boolean enable user bind |
| ldapBindDN | string the query used to bind with the directory service |
| ldapBindDNPassword | string the password that is entered in the login page will be used to bind |
| ldapSearchFilter | string the query used to locate the authenticated user |
| ldapAttrMapUsername | string specification of mappings for username when creating new users |
| isSameUsernameTreatedAsIdenticalUser | boolean local account automatically linked the user name matched |
| ldapAttrMapMail | string specification of mappings for mail address when creating new users |
| ldapAttrMapName | string Specification of mappings for full name address when creating new users |
| ldapGroupSearchBase | string the base DN from which to search for groups. |
| ldapGroupSearchFilter | string the query used to filter for groups |
| ldapGroupDnProperty | string The property of user object to use in dn interpolation of Group Search Filter |
{- "serverUrl": "string",
- "isUserBind": true,
- "ldapBindDN": "string",
- "ldapBindDNPassword": "string",
- "ldapSearchFilter": "string",
- "ldapAttrMapUsername": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "ldapAttrMapMail": "string",
- "ldapAttrMapName": "string",
- "ldapGroupSearchBase": "string",
- "ldapGroupSearchFilter": "string",
- "ldapGroupDnProperty": "string"
}{- "securitySettingParams": {
- "serverUrl": "string",
- "isUserBind": true,
- "ldapBindDN": "string",
- "ldapBindDNPassword": "string",
- "ldapSearchFilter": "string",
- "ldapAttrMapUsername": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "ldapAttrMapMail": "string",
- "ldapAttrMapName": "string",
- "ldapGroupSearchBase": "string",
- "ldapGroupSearchFilter": "string",
- "ldapGroupDnProperty": "string"
}
}Update SAML setting
| missingMandatoryConfigKeys | Array of strings array of missing mandatory config keys |
| useOnlyEnvVarsForSomeOptions | boolean use only env vars for some options |
| samlEntryPoint | string entry point for saml |
| samlIssuer | string issuer for saml |
| samlEnvVarIssuer | string issuer for saml |
| samlCert | string certificate for saml |
| samlEnvVarCert | string certificate for saml |
| samlAttrMapId | string attribute mapping id for saml |
| samlAttrMapUserName | string attribute mapping user name for saml |
| samlAttrMapMail | string attribute mapping mail for saml |
| samlEnvVarAttrMapId | string attribute mapping id for saml |
| samlEnvVarAttrMapUserName | string attribute mapping user name for saml |
| samlEnvVarAttrMapMail | string attribute mapping mail for saml |
| samlAttrMapFirstName | string attribute mapping first name for saml |
| samlAttrMapLastName | string attribute mapping last name for saml |
| samlEnvVarAttrMapFirstName | string attribute mapping first name for saml |
| samlEnvVarAttrMapLastName | string attribute mapping last name for saml |
| isSameUsernameTreatedAsIdenticalUser | boolean local account automatically linked the user name matched |
| isSameEmailTreatedAsIdenticalUser | boolean local account automatically linked the email matched |
| samlABLCRule | string ABLCRule for saml |
| samlEnvVarABLCRule | string ABLCRule for saml |
{- "missingMandatoryConfigKeys": [
- "string"
], - "useOnlyEnvVarsForSomeOptions": true,
- "samlEntryPoint": "string",
- "samlIssuer": "string",
- "samlEnvVarIssuer": "string",
- "samlCert": "string",
- "samlEnvVarCert": "string",
- "samlAttrMapId": "string",
- "samlAttrMapUserName": "string",
- "samlAttrMapMail": "string",
- "samlEnvVarAttrMapId": "string",
- "samlEnvVarAttrMapUserName": "string",
- "samlEnvVarAttrMapMail": "string",
- "samlAttrMapFirstName": "string",
- "samlAttrMapLastName": "string",
- "samlEnvVarAttrMapFirstName": "string",
- "samlEnvVarAttrMapLastName": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true,
- "samlABLCRule": "string",
- "samlEnvVarABLCRule": "string"
}{- "securitySettingParams": {
- "missingMandatoryConfigKeys": [
- "string"
], - "useOnlyEnvVarsForSomeOptions": true,
- "samlEntryPoint": "string",
- "samlIssuer": "string",
- "samlEnvVarIssuer": "string",
- "samlCert": "string",
- "samlEnvVarCert": "string",
- "samlAttrMapId": "string",
- "samlAttrMapUserName": "string",
- "samlAttrMapMail": "string",
- "samlEnvVarAttrMapId": "string",
- "samlEnvVarAttrMapUserName": "string",
- "samlEnvVarAttrMapMail": "string",
- "samlAttrMapFirstName": "string",
- "samlAttrMapLastName": "string",
- "samlEnvVarAttrMapFirstName": "string",
- "samlEnvVarAttrMapLastName": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true,
- "samlABLCRule": "string",
- "samlEnvVarABLCRule": "string"
}
}Update OpenID Connect setting
| oidcProviderName | string provider name for oidc |
| oidcIssuerHost | string issuer host for oidc |
| oidcAuthorizationEndpoint | string authorization endpoint for oidc |
| oidcTokenEndpoint | string token endpoint for oidc |
| oidcRevocationEndpoint | string revocation endpoint for oidc |
| oidcIntrospectionEndpoint | string introspection endpoint for oidc |
| oidcUserInfoEndpoint | string userinfo endpoint for oidc |
| oidcEndSessionEndpoint | string end session endpoint for oidc |
| oidcRegistrationEndpoint | string registration endpoint for oidc |
| oidcJWKSUri | string JSON Web Key Set URI for oidc |
| oidcClientId | string client id for oidc |
| oidcClientSecret | string client secret for oidc |
| oidcAttrMapId | string attr map id for oidc |
| oidcAttrMapUserName | string attr map username for oidc |
| oidcAttrMapName | string attr map name for oidc |
| oidcAttrMapMail | string attr map mail for oidc |
| isSameUsernameTreatedAsIdenticalUser | boolean local account automatically linked the user name matched |
| isSameEmailTreatedAsIdenticalUser | boolean local account automatically linked the email matched |
{- "oidcProviderName": "string",
- "oidcIssuerHost": "string",
- "oidcAuthorizationEndpoint": "string",
- "oidcTokenEndpoint": "string",
- "oidcRevocationEndpoint": "string",
- "oidcIntrospectionEndpoint": "string",
- "oidcUserInfoEndpoint": "string",
- "oidcEndSessionEndpoint": "string",
- "oidcRegistrationEndpoint": "string",
- "oidcJWKSUri": "string",
- "oidcClientId": "string",
- "oidcClientSecret": "string",
- "oidcAttrMapId": "string",
- "oidcAttrMapUserName": "string",
- "oidcAttrMapName": "string",
- "oidcAttrMapMail": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true
}{- "securitySettingParams": {
- "oidcProviderName": "string",
- "oidcIssuerHost": "string",
- "oidcAuthorizationEndpoint": "string",
- "oidcTokenEndpoint": "string",
- "oidcRevocationEndpoint": "string",
- "oidcIntrospectionEndpoint": "string",
- "oidcUserInfoEndpoint": "string",
- "oidcEndSessionEndpoint": "string",
- "oidcRegistrationEndpoint": "string",
- "oidcJWKSUri": "string",
- "oidcClientId": "string",
- "oidcClientSecret": "string",
- "oidcAttrMapId": "string",
- "oidcAttrMapUserName": "string",
- "oidcAttrMapName": "string",
- "oidcAttrMapMail": "string",
- "isSameUsernameTreatedAsIdenticalUser": true,
- "isSameEmailTreatedAsIdenticalUser": true
}
}Update google OAuth
| googleClientId | string key of comsumer |
| googleClientSecret | string password of comsumer |
| isSameUsernameTreatedAsIdenticalUser | boolean local account automatically linked the email matched |
{- "googleClientId": "string",
- "googleClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}{- "securitySettingParams": {
- "googleClientId": "string",
- "googleClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}
}Update github OAuth
| githubClientId | string key of comsumer |
| githubClientSecret | string password of comsumer |
| isSameUsernameTreatedAsIdenticalUser | boolean local account automatically linked the email matched |
{- "githubClientId": "string",
- "githubClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}{- "securitySettingParams": {
- "githubClientId": "string",
- "githubClientSecret": "string",
- "isSameUsernameTreatedAsIdenticalUser": true
}
}{- "markdownParams": {
- "isEnabledLinebreaks": true,
- "isEnabledLinebreaksInComments": true,
- "adminPreferredIndentSize": 0,
- "isIndentSizeForced": true,
- "isEnabledXss": true,
- "xssOption": 0,
- "tagWhitelist": [
- "string"
], - "attrWhitelist": "string"
}
}| isEnabledLinebreaks | boolean enable lineBreak |
| isEnabledLinebreaksInComments | boolean enable lineBreak in comment |
{- "isEnabledLinebreaks": true,
- "isEnabledLinebreaksInComments": true
}{- "lineBreaksParams": {
- "isEnabledLinebreaks": true,
- "isEnabledLinebreaksInComments": true
}
}| adminPreferredIndentSize | number preferred indent size |
| isIndentSizeForced | boolean force indent size |
{- "adminPreferredIndentSize": 0,
- "isIndentSizeForced": true
}{- "indentParams": {
- "adminPreferredIndentSize": 0,
- "isIndentSizeForced": true
}
}Update xss
| isEnabledXss | boolean enable xss |
| xssOption | number number of xss option |
| tagWhitelist | Array of strings array of tag whitelist |
| attrWhitelist | string attr whitelist |
{- "isEnabledXss": true,
- "xssOption": 0,
- "tagWhitelist": [
- "string"
], - "attrWhitelist": "string"
}{- "isEnabledXss": true,
- "xssOption": 0,
- "tagWhitelist": [
- "string"
], - "attrWhitelist": "string"
}{- "customizeParams": {
- "isEnabledTimeline": true,
- "isEnabledAttachTitleHeader": true,
- "pageLimitationS": 0,
- "pageLimitationM": 0,
- "pageLimitationL": 0,
- "pageLimitationXL": 0,
- "isEnabledStaleNotification": true,
- "isAllReplyShown": true,
- "isSearchScopeChildrenAsDefault": true,
- "isEnabledMarp": true,
- "styleName": "string",
- "styleBorder": "string",
- "customizeTitle": "string",
- "customizeScript": "string",
- "customizeCss": "string",
- "customizeNoscript": "string"
}
}Update layout
| isContainerFluid | boolean |
{- "isContainerFluid": true
}{- "customizedParams": {
- "isContainerFluid": true
}
}{- "currentTheme": "string",
- "pluginThemesMetadatas": [
- {
- "name": "string",
- "manifestKey": "string",
- "schemeType": "string",
- "lightBg": "string",
- "darkBg": "string",
- "lightSidebar": "string",
- "darkSidebar": "string",
- "lightIcon": "string",
- "darkIcon": "string",
- "createBtn": "string"
}
]
}Update sidebar
| isSidebarCollapsedMode | boolean The flag whether sidebar is collapsed mode or not. |
{- "isSidebarCollapsedMode": true
}{- "customizedParams": {
- "isSidebarCollapsedMode": true
}
}Update function
| isEnabledTimeline | boolean |
| isEnabledAttachTitleHeader | boolean |
| pageLimitationS | number |
| pageLimitationM | number |
| isEnabledStaleNotification | boolean |
| isAllReplyShown | boolean |
| isSearchScopeChildrenAsDefault | boolean |
{- "isEnabledTimeline": true,
- "isEnabledAttachTitleHeader": true,
- "pageLimitationS": 0,
- "pageLimitationM": 0,
- "isEnabledStaleNotification": true,
- "isAllReplyShown": true,
- "isSearchScopeChildrenAsDefault": true
}{- "customizedParams": {
- "isEnabledTimeline": true,
- "isEnabledAttachTitleHeader": true,
- "pageLimitationS": 0,
- "pageLimitationM": 0,
- "isEnabledStaleNotification": true,
- "isAllReplyShown": true,
- "isSearchScopeChildrenAsDefault": true
}
}Update presentation
| isEnabledMarp | boolean The flag whether Marp is enabled or not. |
{- "isEnabledMarp": true
}{- "customizedParams": {
- "isEnabledMarp": true
}
}Update highlight
| highlightJsStyle | string |
| highlightJsStyleBorder | boolean |
{- "highlightJsStyle": "string",
- "highlightJsStyleBorder": true
}{- "customizedParams": {
- "styleName": "string",
- "styleBorder": true
}
}Update title
| customizeTitle | string |
{- "customizeTitle": "string"
}{- "customizedParams": {
- "customizeTitle": "string"
}
}Update noscript
| customizeNoscript | string |
{- "customizeNoscript": "string"
}{- "customizedParams": {
- "customizeNoscript": "string"
}
}Update customize css
| customizeCss | string |
{- "customizeCss": "string"
}{- "customizedParams": {
- "customizeCss": "string"
}
}Update customize script
| customizeScript | string |
{- "customizeScript": "string"
}{- "customizedParams": {
- "customizeScript": "string"
}
}Update customize logo
| isDefaultLogo | boolean The flag whether the logo is default or not. |
{- "isDefaultLogo": true
}{- "customizedParams": {
- "isDefaultLogo": true
}
}Upload brand logo
| file | string <binary> |
{- "attachment": {
- "id": "5e0734e072560e001761fa67",
- "_id": "5e0734e072560e001761fa67",
- "__v": 0,
- "attachmentType": "WIKI_PAGE",
- "fileFormat": "text/plain",
- "fileName": "601b7c59d43a042c0117e08dd37aad0aimage.txt",
- "originalName": "file.txt",
- "creator": "string",
- "page": null,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "temporaryUrlExpiredAt": null,
- "fileSize": 3494332,
- "filePathProxied": "/attachment/5e0734e072560e001761fa67",
- "downloadPathProxied": "/download/5e0734e072560e001761fa67",
- "temporaryUrlCached": null
}
}import a collection from a zipped json
| fileName | string the file name of zip file |
| collections | Array of strings collection names to import |
object the array of importing option that have collection name as the key |
{- "fileName": "string",
- "collections": [
- "string"
], - "options": {
- "property1": [
- {
- "mode": "insert"
}
], - "property2": [
- {
- "mode": "insert"
}
]
}
}upload a zip file
| file | string <binary> |
{- "meta": {
- "version": "string",
- "url": "string",
- "passwordSeed": "string",
- "exportedAt": "2019-08-24T14:15:22Z",
- "envVars": {
- "ELASTICSEARCH_URI": "string"
}
}, - "fileName": "string",
- "zipFilePath": "string",
- "fileStat": {
- "dev": 0,
- "mode": 0,
- "nlink": 0,
- "uid": 0,
- "gid": 0,
- "rdev": 0,
- "blksize": 0,
- "ino": 0,
- "size": 0,
- "blocks": 0,
- "atime": "2019-08-24T14:15:22Z",
- "mtime": "2019-08-24T14:15:22Z",
- "ctime": "2019-08-24T14:15:22Z",
- "birthtime": "2019-08-24T14:15:22Z"
}, - "innerFileStats": [
- {
- "fileName": "string",
- "collectionName": "string",
- "size": 0
}
]
}get properties of stored zip files for export
{- "ok": true,
- "status": {
- "zipFileStats": [
- {
- "meta": {
- "version": "string",
- "url": "string",
- "passwordSeed": "string",
- "exportedAt": "2019-08-24T14:15:22Z",
- "envVars": {
- "property1": "string",
- "property2": "string"
}
}, - "fileName": "string",
- "zipFilePath": "string",
- "fileStat": {
- "dev": 0,
- "mode": 0,
- "nlink": 0,
- "uid": 0,
- "gid": 0,
- "rdev": 0,
- "blksize": 0,
- "ino": 0,
- "size": 0,
- "blocks": 0,
- "atime": "2019-08-24T14:15:22Z",
- "mtime": "2019-08-24T14:15:22Z",
- "ctime": "2019-08-24T14:15:22Z",
- "birthtime": "2019-08-24T14:15:22Z"
}, - "innerFileStats": [
- {
- "fileName": "string",
- "collectionName": "string",
- "meta": {
- "progressList": [
- { }
], - "isExporting": true
}
}
]
}
], - "isExporting": true,
- "progressList": [
- "string"
]
}
}generate zipped jsons for collections
| collections | Array of strings |
{- "collections": [
- [
- "pages",
- "tags"
]
]
}{- "ok": true
}| file | string <binary> The zip file of the data to be transferred |
| collections | Array of strings The list of MongoDB collections to be transferred |
| optionsMap | object The map of options for each collection |
| operatorUserId | string The ID of the operator user |
| uploadConfigs | object The map of upload configurations |
{- "message": "string"
}| file | string <binary> The zip file of the data to be transferred |
| attachmentMetadata | object Metadata of the attachment |
{- "message": "string"
}{- "growiInfo": {
- "version": "string",
- "userUpperLimit": 0,
- "fileUploadDisabled": true,
- "fileUploadTotalLimit": 0,
- "attachmentInfo": {
- "type": "string",
- "writable": true,
- "bucket": "string",
- "customEndpoint": "string",
- "uploadNamespace": "string",
- "accountName": "string",
- "containerName": "string"
}
}
}| appSiteUrl | string The URL of the GROWI |
{- "appSiteUrl": "string"
}{- "transferKey": "string"
}| transferKey | string The transfer key |
| collections | Array of strings The list of MongoDB collections to be transferred |
| optionsMap | object The map of options for each collection |
{- "transferKey": "string",
- "collections": [
- "string"
], - "optionsMap": { }
}{- "message": "string"
}Get the list of in-app notifications
| limit | integer The number of notifications to get |
| offset | integer The number of notifications to skip |
| status | string The status to categorize. 'UNOPENED' or 'OPENED'. |
{- "docs": [
- {
- "_id": "string",
- "action": "string",
- "snapshot": "string",
- "target": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "__v": 0,
- "commentCount": 3,
- "createdAt": "2010-01-01T00:00:00.000Z",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "extended": { },
- "grant": 1,
- "grantedUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "lastUpdateUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "liker": [ ],
- "path": "/path/to/page",
- "revision": "string",
- "seenUsers": [
- "5ae5fccfc5577b0004dbd8ab"
], - "status": "published",
- "updatedAt": "2010-01-01T00:00:00.000Z"
}, - "user": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "status": "string",
- "targetModel": "string",
- "id": "string",
- "actionUsers": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
]
}
], - "totalDocs": 0,
- "offset": 0,
- "limit": 0,
- "totalPages": 0,
- "page": 0,
- "hasPrevPage": true,
- "hasNextPage": true,
- "prevPage": "string",
- "nextPage": "string"
}{- "notificationParams": {
- "isSlackbotConfigured": true,
- "isSlackLegacyConfigured": true,
- "currentBotType": "string",
- "userNotifications": [
- {
- "channel": "string",
- "pathPattern": "string",
- "createdAt": "string",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "patternPrefix": "string",
- "patternPrefix2": "string",
- "provider": "string",
- "updatedAt": "string",
- "__v": 0,
- "_id": "string"
}
], - "isNotificationForOwnerPageEnabled": true,
- "isNotificationForGroupPageEnabled": true,
- "globalNotifications": [
- {
- "notifyType": "string",
- "toEmail": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "triggerEvents": [
- "string"
]
}
]
}
}add user notification setting
| pathPattern | string path name of wiki |
| channel | string slack channel name without '#' |
{- "pathPattern": "string",
- "channel": "string"
}{- "responseParams": {
- "createdUser": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "userNotifications": [
- {
- "channel": "string",
- "pathPattern": "string",
- "createdAt": "string",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "patternPrefix": "string",
- "patternPrefix2": "string",
- "provider": "string",
- "updatedAt": "string",
- "__v": 0,
- "_id": "string"
}
]
}
}delete user trigger notification pattern
| id required | string id of user trigger notification |
{- "channel": "string",
- "pathPattern": "string",
- "createdAt": "string",
- "creator": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "patternPrefix": "string",
- "patternPrefix2": "string",
- "provider": "string",
- "updatedAt": "string",
- "__v": 0,
- "_id": "string"
}get global notification setting
| id required | string id of global notification |
{- "globalNotification": {
- "_id": "string",
- "isEnabled": true,
- "triggerEvents": [
- "string"
], - "__t": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "__v": 0
}
}update global notification
| id required | string global notification id for updated |
| notifyType | string What is type for notify |
| toEmail | string email for notify |
| slackChannels | string channels for notify |
| triggerPath | string trigger path for notify |
| triggerEvents | Array of strings trigger events for notify |
{- "notifyType": "string",
- "toEmail": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "triggerEvents": [
- "string"
]
}{- "createdNotification": {
- "_id": "string",
- "isEnabled": true,
- "triggerEvents": [
- "string"
], - "__t": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "__v": 0
}
}delete global notification pattern
| id required | string id of global notification |
{- "_id": "string",
- "isEnabled": true,
- "triggerEvents": [
- "string"
], - "__t": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "__v": 0
}add global notification
| notifyType | string What is type for notify |
| toEmail | string email for notify |
| slackChannels | string channels for notify |
| triggerPath | string trigger path for notify |
| triggerEvents | Array of strings trigger events for notify |
{- "notifyType": "string",
- "toEmail": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "triggerEvents": [
- "string"
]
}{- "createdNotification": {
- "_id": "string",
- "isEnabled": true,
- "triggerEvents": [
- "string"
], - "__t": "string",
- "slackChannels": "string",
- "triggerPath": "string",
- "__v": 0
}
}Update settings for notify for page grant
| isNotificationForOwnerPageEnabled | boolean Whether to notify on owner page |
| isNotificationForGroupPageEnabled | boolean Whether to notify on group page |
{- "isNotificationForOwnerPageEnabled": true,
- "isNotificationForGroupPageEnabled": true
}{- "isNotificationForOwnerPageEnabled": true,
- "isNotificationForGroupPageEnabled": true
}toggle enabled global notification
| id required | string notification id for updated |
| isEnabled | boolean is notification enabled |
{- "isEnabled": true
}{- "id": "string"
}Install a plugin
object |
{- "pluginInstallerForm": {
- "url": "string",
- "ghBranch": "string",
- "ghTag": "string"
}
}{- "pluginName": "string"
}Verify the access token
| type | string |
| challenge | string |
{- "type": "string",
- "challenge": "string"
}{- "challenge": "string"
}Handle Slack events
| growiBotEvent | object |
| data | object |
{- "growiBotEvent": { },
- "data": { }
}{ }Get current settings and connection statuses.
{- "currentBotType": "string",
- "settings": {
- "slackSigningSecretEnvVars": "string",
- "slackBotTokenEnvVars": "string",
- "slackSigningSecret": "string",
- "slackBotToken": "string",
- "commandPermission": { },
- "eventActionsPermission": { },
- "proxyServerUri": "string"
}, - "connectionStatuses": { },
- "errorMsg": "string",
- "errorCode": "string"
}Generate SlackAppIntegrations
{- "tokenGtoP": "string",
- "tokenPtoG": "string",
- "permissionsForBroadcastUseCommands": { },
- "permissionsForSingleUseCommands": { },
- "permissionsForSlackEvents": { },
- "isPrimary": true
}update supported commands
| id required | string |
| permissionsForBroadcastUseCommands | object |
| permissionsForSingleUseCommands | object |
| permissionsForSlackEventActions | object |
{- "permissionsForBroadcastUseCommands": { },
- "permissionsForSingleUseCommands": { },
- "permissionsForSlackEventActions": { }
}{ }Update customBotWithoutProxy setting.
| slackSigningSecret | string |
| slackBotToken | string |
{- "slackSigningSecret": "string",
- "slackBotToken": "string"
}Update customBotWithoutProxy permissions.
| commandPermission | object |
| eventActionsPermission | object |
{- "commandPermission": { },
- "eventActionsPermission": { }
}Update slack configuration setting
| webhookUrl | string incoming webhooks url |
| isIncomingWebhookPrioritized | boolean use incoming webhooks even if Slack App settings are enabled |
| slackToken | string OAuth access token |
{- "webhookUrl": "string",
- "isIncomingWebhookPrioritized": true,
- "slackToken": "string"
}{- "responseParams": {
- "webhookUrl": "string",
- "isIncomingWebhookPrioritized": true,
- "slackToken": "string"
}
}Get all templates
| includeInvalidTemplates | boolean Whether to include invalid templates |
{- "summaries": {
- "property1": {
- "id": "string",
- "isDefault": true,
- "isValid": true,
- "locale": "string",
- "title": "string"
}, - "property2": {
- "id": "string",
- "isDefault": true,
- "isValid": true,
- "locale": "string",
- "title": "string"
}
}
}Get a plugin template
| organizationId required | string The organization ID |
| reposId required | string The repository ID |
| templateId required | string The template ID |
| locale required | string The locale |
{- "markdown": "string"
}Get usergroups
| page | number page number |
| limit | number number of items per page |
| offset | number offset |
| pagination | boolean whether to paginate |
{- "userGroups": { },
- "totalUserGroups": 0,
- "pagingLimit": 0
}Adds userGroup
| name | string name of the userGroup trying to be added |
| description | string description of the userGroup trying to be added |
| parentId | string parentId of the userGroup trying to be added |
{- "name": "string",
- "description": "string",
- "parentId": "string"
}{- "userGroup": { }
}Get child user groups
| parentIds | Array of strings IDs of parent user groups |
| includeGrandChildren | boolean Whether to include grandchild user groups |
{- "childUserGroups": [
- { }
], - "grandChildUserGroups": [
- { }
]
}Deletes userGroup
| id required | string id of userGroup |
| actionName | string name of action |
| transferToUserGroupId | string userGroup id that will be transferred to |
| transferToUserGroupType | string userGroup type that will be transferred to |
{- "userGroups": { }
}Update userGroup
| id required | string id of userGroup |
| name | string name of the userGroup trying to be updated |
| description | string description of the userGroup trying to be updated |
| parentId | string parentId of the userGroup trying to be updated |
| forceUpdateParents | boolean whether to update parent groups |
{- "name": "string",
- "description": "string",
- "parentId": "string",
- "forceUpdateParents": true
}{- "userGroup": { }
}Get users related to the userGroup
| id required | string id of userGroup |
{- "users": [
- {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
]
}Add a user to the userGroup
| id required | string id of userGroup |
| username required | string username of the user |
{- "user": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "createdRelationCount": 0
}remove a user from the userGroup
| id required | string id of userGroup |
| username required | string username of the user |
{- "user": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "deletedGroupsCount": 0
}Create new users and send Emails
| shapedEmailList | object Invitation emailList |
| sendEmail | boolean Whether to send mail |
{- "createdUserList": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}, - "existingEmailList": [
- "string"
], - "failedEmailList": {
- "email": "string",
- "reason": "string"
}
}Grant user admin
| id required | string id of user for admin |
{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Grant user read only access
| id required | string id of user for read only access |
{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Revoke user read only access
| id required | string id of user for removing read only access |
{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Activate user
| id required | string id of activate user |
{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Deactivate user
| id required | string id of deactivate user |
{- "userData": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Delete user
| id required | string id of delete user |
{- "user": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}Get external-account
| page | number page number |
{- "paginateResult": {
- "docs": [
- { }
], - "totalDocs": 0,
- "limit": 10,
- "hasPrevPage": 0,
- "hasNextPage": 0,
- "page": 0,
- "totalPages": 0,
- "offset": 0,
- "prefPage": 0,
- "nextPage": 0,
- "pagingCounter": 0,
- "meta": 0
}
}update imageUrlCache
| id | string user id for reset password |
{- "id": "string"
}{- "newPassword": "string",
- "user": {
- "_id": "5ae5fccfc5577b0004dbd8ab",
- "lang": "en_US",
- "status": 0,
- "admin": false,
- "email": "alice@aaa.aaa",
- "username": "alice",
- "name": "Alice",
- "createdAt": "2010-01-01T00:00:00.000Z",
- "imageUrlCached": "/images/user/5ae5fccfc5577b0004dbd8ab/profile.jpg",
- "isEmailPublished": false,
- "isGravatarEnabled": false,
- "isInvitationEmailSended": false,
- "lastLoginAt": "2010-01-01T00:00:00.000Z",
- "readOnly": false,
- "updatedAt": "2010-01-01T00:00:00.000Z",
- "__v": 0
}
}send invitation email
| id | string user id for send invitation email |
{- "id": "string"
}{- "failedToSendEmail": {
- "email": "string",
- "reason": "string"
}
}{- "info": {
- "growi": {
- "uuid": "string",
- "health": "string",
- "status": "string",
- "primaries": {
- "docs": {
- "count": 0,
- "deleted": 0
}, - "store": {
- "size_in_bytes": 0,
- "total_data_set_size_in_bytes": 0,
- "reserved_in_bytes": 0
}, - "indexing": {
- "index_total": 0,
- "index_time_in_millis": 0,
- "index_current": 0,
- "index_failed": 0,
- "delete_total": 0,
- "delete_time_in_millis": 0,
- "delete_current": 0,
- "noop_update_total": 0,
- "is_throttled": true,
- "throttle_time_in_millis": 0,
- "write_load": 0
}
}, - "total": {
- "docs": {
- "count": 0,
- "deleted": 0
}, - "store": {
- "size_in_bytes": 0,
- "total_data_set_size_in_bytes": 0,
- "reserved_in_bytes": 0
}, - "indexing": {
- "index_total": 0,
- "index_time_in_millis": 0,
- "index_current": 0,
- "index_failed": 0,
- "delete_total": 0,
- "delete_time_in_millis": 0,
- "delete_current": 0,
- "noop_update_total": 0,
- "is_throttled": true,
- "throttle_time_in_millis": 0,
- "write_load": 0
}
}
}, - "aliases": {
- "growi": {
- "aliases": {
- "growi-alias": { }
}
}
}, - "isNormalized": true
}
}Operate indices
| operation | string Enum: "normalize" "rebuild" Operation type against to indices > * |
{- "operation": "normalize"
}{- "message": "string"
}{- "registerForm": {
- "name": "string",
- "username": "string",
- "email": "string",
- "password": "string",
- "app:globalLang": "en_US"
}
}{- "message": "Installation completed (Logged in as an admin user)"
}Check whether the server is healthy or not
| checkServices | Array of strings Items Enum: "mongo" "search" The list of services to check health |
| strictly | boolean Check services and responds 503 if either of these is unhealthy |
{- "info": {
- "mongo": "OK",
- "searchInfo": {
- "cluster_name": "elasticsearch",
- "status": "yellow",
- "timed_out": false,
- "number_of_nodes": 1,
- "number_of_data_nodes": 1,
- "active_primary_shards": 2,
- "active_shards": 2,
- "relocating_shards": 0,
- "initializing_shards": 0,
- "unassigned_shards": 1,
- "delayed_unassigned_shards": 0,
- "number_of_pending_tasks": 0,
- "number_of_in_flight_fetch": 0,
- "task_max_waiting_in_queue_millis": 0,
- "active_shards_percent_as_number": 66.66666666666666
}
}
}