Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Save system diagnostics

Save diagnostics log to a given file.

URL

/ctrl/diagnostics

Method

POST

URL Params

action=save Required

See Common URL parameters

Data Params

  • dstpath=Fully qualified file name to save the diagnostic log e.g.fileservice/hd0a/TEMP/sysdump/diagnostics.log. The path can contain environment variables. Required

Success Response

Example Response

No content

Error Response

BAD_REQUEST(400), CONFLICT(409), UNSUPPORTED_MEDIA(415) See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "dstpath=/fileservice/$TEMP/sysdump/diagnostics.log" -X POST "http://localhost/ctrl/diagnostics?action=save"

Notes

  • Since saving a diagnostic log is an asynchronous task, the location header can be subscribed on to get information about the status of the task.
  • Not supported in bootserver mode.
  • Not supported on Virtual Controller.