Docker Remote API for interactive command execution


I want to run interactive commands like top and tail -f over http ( Docker Remote API ) but stdout and stderr does not seen to be streaming anything with the below command. Could someone help?

“AttachStdin”: true,
“AttachStdout”: true,
“AttachStderr”: true,
“Tty”: true,
“Cmd”: [
OUTPUT - 1cdd1b67fb01062929dd2e4ee8102c4bde77f17a85619c3ed3f84715ef65502b
“Detach”: false,
“Tty”: true

STUCK HERE – No StdOut or Err here.