objectid = { | |
type: 'string', | |
maxLength: 24, | |
minLength: 1 | |
}; |
translation_info =
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
content_id | string | string | not implemented | |
language | string | string | not implemented |
share_info =
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
postURI | string | string | not implemented | |
platform | string | string | not implemented |
comment_info =
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
comment_id | objectid | objectid | implemented | |
text | string | string | implemented |
use_info =
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
target_id | string | string | not implemented | |
type | string | string | not implemented |
notification =
yes
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
_id | Mongo ObjectID | yes | Mongo ObjectID | implemented |
activity_id | objectid | yes | objectid | implemented |
activity_type | string, enum: ['translate', 'share', 'add', 'edit', 'comment', 'reply', 'use', 'react', 'rate', 'download'] | yes | string from enum | implemented |
timestamp | object | yes (set by microservice) | implemented | |
user_id | objectid | yes | objectid | implemented |
content_id | string | yes | string | implemented |
content_kind | string, enum: ['deck', 'slide'] | yes | string from enum | implemented |
content_name | string | yes | string | implemented |
content_owner_id | objectid | yes | objectid | implemented |
subscribed_user_id | objectid | not implemented | ||
translation_info | translation_info | no | not implemented | |
share_info | share_info | no | not implemented | |
comment_info | comment_info | no | implemented | |
use_info | use_info | no | not implemented | |
react_type | string | no | string | not implemented |
rate_type | string | no | string | not implemented |