Event

Catalog


POST Log

Request path:

https://status.aiursoft.com/Event/Log

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&Message=yourMessage&StackTrace=yourStackTrace&EventLevel=yourEventLevel 

Request form:

Name Required Type
AccessToken Not required Text
Message Not required Text
StackTrace Not required Text
EventLevel Not required A magic type!

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

GET View

Request path:

https://status.aiursoft.com/Event/ViewTry

Request example:

https://status.aiursoft.com/Event/View?AccessToken=yourAccessToken

Request arguments:

Name Required Type
AccessToken Not required Text

Possible Response:

{
  "Logs": [
    {
      "Message": "an example string.",
      "First": {
        "AppId": "an example string.",
        "Message": "an example string.",
        "StackTrace": "an example string.",
        "EventLevel": 0,
        "LogTime": "2019-11-18T21:00:43.8917503Z"
      },
      "Count": 0
    }
  ],
  "AppId": "an example string.",
  "Code": 0,
  "Message": "an example string."
}

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}