REST - Document - ChangeLog

REST-Interface

Get change-log

URL GET <application-url>/api/document/changelog

Query parameter

  • documentId
  • documentlanguageVersionId
  • contactId
  • count possible: true, false default: false additionally loading count of change-log-entries
  • orderBy possible: id - document-createtime date - version-title default: date the order by
  • orderDir possible: asc, desc default: asc the ordering direction
  • offset
  • limit

Produces

application/json
application/xml

com.matterial.mtr.api.object.ListResult<DocumentChangeLog>

  • 200 OK
  • 500 INTERNAL_SERVER_ERROR

Permission SHOW_CHANGELOG

Sample GET http://localhost:8080/mtr-backend/api/document/changelog?documentId=5&count=true&limit=1


Get change-log-map (grouped by date)

URL GET <application-url>/api/document/changelog/map

Query parameter

  • documentId
  • documentlanguageVersionId
  • contactId
  • count possible: true, false default: false additionally loading count of change-log-entries
  • offset
  • limit

Produces

application/json
application/xml

DocumentChangeLogMap

  • 200 OK
  • 500 INTERNAL_SERVER_ERROR

Permission SHOW_CHANGELOG

Sample GET http://localhost:8080/mtr-backend/api/document/changelog/map?documentId=5&count=true&limit=1

×
Peter's Problem.