API
Research
Add Visited Page to Research History
Description
Stores details about visited page into current user's research history
URL
/api/v1/visit/
HTTP Method
POST
Path Parameters
None
Query Parameters
None
Data Parameters
See JSON schema/example below
[
{
"url": "https://www.openwall.com/lists/oss-security/2021/03/09/3",
"tabId": 48,
"start": 1615341155463,
"end": 1615341159941,
"title": "oss-security - git: malicious repositories can execute remote code while cloning",
"navfrom": "https://news.ycombinator.com/",
"favicon": "https://www.openwall.com/favicon.ico"
},
{
"url": "https://docs.google.com/spreadsheets/d/16VAqpY_-5luLmckjrkUP1C_vbnWKUfY0Oiu4UO36IIE/edit?ts=602a9b83#gid=0",
"tabId": 4,
"start": 1615341159943,
"end": 1615341162049,
"title": "Histre API Endpoints - Google Sheets",
"navfrom": null,
"favicon": "https://ssl.gstatic.com/docs/spreadsheets/favicon3.ico"
},
{
"url":"https://www.openwall.com/lists/oss-security/2021/03/09/3",
"tabId":48,
"start":1615341162050,
"end":1615341168383,
"title":"oss-security - git: malicious repositories can execute remote code while cloning",
"navfrom":"https://news.ycombinator.com/",
"favicon":"https://www.openwall.com/favicon.ico"
}
]
Request Headers
- Content-Type: application/json
- Authorization: Bearer
Response
- Status Code: 200
- Content-Type: application/json
- Schema/Example:
{
"data": {},
"error": false,
"errcode": 0,
"errmsg": null,
"status": 200
}
Delete Item from Research History
Description
Removes stored item from current user's research history
URL
/api/v1/deleteurl/
HTTP Method
POST
Path Parameters
None
Query Parameters
None
Data Parameters
uuid
(String): ID of research history record to delete (required)
Request Headers
- Content-Type: application/json
- Authorization: Bearer
Response
- Status Code: 200
- Content-Type: application/json
- Schema/Example:
{
"data": {},
"error": false,
"errcode": 0,
"errmsg": null,
"status": 200
}