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 |
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 |
implemented | |||
type | string | string |
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', 'view', 'move', 'comment', 'reply', 'use', 'attach', 'react', 'rate', 'download', 'fork', 'delete', 'joined', 'left'] | 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 | yes | objectid |
implemented | ||||
translation_info | translation_info | no | not implemented | |
share_info | share_info | no |
implemented | ||||
comment_info | comment_info | no | implemented | |
use_info | use_info | no |
implemented | |||
react_type | string | no | string |
implemented | |||
rate_type | string | no | string |
implemented |