REST API method add (draft)
write to log file (draft)
ref
Merge branch 'rest-api'