Get the author display name

From this:

we should only use user.atlassianAccountId which returns a long ID but what if I want to display the user’s displayname?

I just want to capture who is editing the document to create some history table in my macro

@shao.tat, use the REST API GET /wiki/rest/api/user/current.