Context Logging Service

ContextIDRestfulApi class

Interface address: /api/rest_j/v1/contextservice/createContextID

Request method: POST

Request data type: application/json

Response data type: */*

Interface description:

Create text record

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
jsonNodejsonNodebodytrueJsonNodeJsonNode
contextIDContextIdfalseStringString

Response Status:

Status codeDescriptionschema
200OKMessage
201Created
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

Interface address: /api/rest_j/v1/contextservice/getContextID

Request method: GET

Request data type: application/x-www-form-urlencoded

Response data type: */*

Interface description:

Get text ID

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
contextIdContextIdqueryfalsestring

Response Status:

Status codeDescriptionschema
200OKMessage
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

Interface address: /api/rest_j/v1/contextservice/removeContextID

Request method: POST

Request data type: application/json

Response data type: */*

Interface description:

Delete text ID

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
jsonNodejsonNodebodytrueJsonNodeJsonNode
contextIdContextIdfalseStringString

Response Status:

Status codeDescriptionschema
200OKMessage
201Created
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

Interface address: /api/rest_j/v1/contextservice/resetContextID

Request method: POST

Request data type: application/json

Response data type: */*

Interface Description:

Reset Text ID

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
jsonNodejsonNodebodytrueJsonNodeJsonNode
contextIdContextIdfalseStringString

Response Status:

Status codeDescriptionschema
200OKMessage
201Created
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

Interface address:/api/rest_j/v1/contextservice/searchContextIDByTime

Request method: GET

Request data type: application/x-www-form-urlencoded

Response data type: */*

Interface description:

Search text ID execution time

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
accessTimeEndAccess end timequeryfalsestring
accessTimeStartAccess Start Timequeryfalsestring
createTimeEndCreate end timequeryfalsestring
createTimeStartcreate timequeryfalsestring
pageNowpage numberqueryfalsestring
pageSizepage sizequeryfalsestring
updateTimeEndUpdate end timequeryfalsestring
updateTimeStartUpdate timequeryfalsestring

Response Status:

Status codeDescriptionschema
200OKMessage
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

Interface address: /api/rest_j/v1/contextservice/updateContextID

Request method: POST

Request data type: application/json

Response data type: */*

Interface description:

Modify text ID

Request Parameters:

Parameter nameParameter descriptionRequiredRequest typeData typeschema
jsonNodejsonNodebodytrueJsonNodeJsonNode
contextIdContextIdfalseStringString

Response Status:

Status codeDescriptionschema
200OKMessage
201Created
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }