Skip to content

RESTful API For Log

Echo edited this page Apr 16, 2018 · 1 revision
获取指产品线的日志
Request
GET /saltshaker/api/v1.0/log?product_id=p-4bc4a5b83bd011e8aa0e000c298454d8

Response
HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": [
        {
            "id": "p-4bc4a5b83bd011e8aa0e000c298454d8",
            "time": "2018-04-14 14:51:06",
            "user": "admin",
            "product_id": "p-4bc4a5b83bd011e8aa0e000c298454d8",
            "action_type": "edit",
            "action_object": "product"
        },
        {
            "id": "p-4bc4a5b83bd011e8aa0e000c298454d8",
            "time": "2018-04-14 14:48:25",
            "user": "admin",
            "product_id": "p-4bc4a5b83bd011e8aa0e000c298454d8",
            "action_type": "edit",
            "action_object": "product"
        },
    ],
    "status": true,
    "message": ""
}