Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
    "result": "200",
    "resultMessage": "SUCCESS",
    "item": {
        "code": "signed",
        "role": [
            "admin::system",
            "system",
            "role::system",
            "system",
            "adminGroup::system",
            "system",
            "admin",
            "anonymous"
        ],
        "lastAccessTime": 1603086697514,
        "sessionKey": "ChajS7UWvDnf5AP2p8-B3QZpT7Z-E-eFnzts5UHPHkyP4HtAqkaGU5zCSb3Lm922IqzMNcWgd2MpDlPbBFmiug",
        "contextPath": "adm",
        "admin": {
            "id": "system",
        },
        "userId": "admin::system",
        "securityAgreement": false,
        "siteId": null,
        "userType": "admin",
        "userRole": "system",
        "projectId": "dxp"
    }
}

API Key

open, external apiType은 API 키를 통해서 인증필요

{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list

Code Block
{
    "timestamp": "2020-10-20T02:45:39.969+0000",
    "status": 400,
    "error": "Bad Request",
    "message": "Required String parameter 'apiKey' is not present",
    "path": "/api/testEvent/list"
}

{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list?apiKey=W2!GLgUu?5!c*VubLVsfVyW42t$KHt

Code Block

{
    "result": "200",
    "resultMessage": "SUCCESS",
    "totalCount": 0,
    "totalTypeCount": 0,
    "resultCount": 0,
    "items": []
}