'Samsung SmartTV api queries

Has anyone been able to find the http API endpoints to Samsung SmartTVs yet ?

Following curl examples open apps on the tv

curl -X POST http://192.168.2.123:8001/ws/apps/YouTube
curl -X POST http://192.168.2.123:8001/ws/apps/Netflix
curl -X POST http://192.168.29.124:8001/api/v2/applications/11101200001
curl -X POST http://192.168.29.124:8001/api/v2/applications/111299001912

This one shows some basic details about the TV
curl -X GET http://192.168.2.123:8001/api/v2/

I have got keyIDs but not able to figure out the API endpoint (URL) we need to use to send curl to:

What can we use directly to control basic functions of the TV Like VolumeUP, VolumeDown, Mute, PowerOff, PowerOn, SwitchSource etc..

something sort of this I am looking for:
curl -X GET http://192.168.2.123:8001/api/v2/KeyCode=KEY_MUTE

Any help would be appreciated..



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source