-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Personal Center interface #10
Comments
Ahh... I wrote an issue on my phone and forgot to submit..= = Thx! |
Something has changed in the requirements...
Second, we need interface of notifications. {
"source": "experiment record",
"content": "I'm a mengmengda notification",
"read": true
} source: Simply a string representing the type of the notification. The notifications are divided into four groups:
content: The content of notifications. read: Whether the notification has been read or not. |
Update: Maybe an id of the notification will help design the interface. {
"id": 233,
"source": "experiment record",
"content": "I'm a mengmengda notification",
"read": true
} My draft of the interface is as follows. To get all notifications of this specific user, And, using a RESTful API and a base url of
|
Raw edition of PC interface:
python manager.py testinit
test
, pswtest
person/mine
andperson/favorite
The text was updated successfully, but these errors were encountered: