Overview
The REST API commands available on the Base Unit Swagger page are primarily designed for use with Linux terminals by default. However, Windows users can also utilize these commands by converting them to the appropriate Windows format. This conversion can be done using AI tools or any online converter.
Please note that while the converted commands may differ in format, their functionality remains unchanged. See the example below for reference:
Example: Changing the setting of Miracast from disabled to enabled
- On Linux Terminal and Mac Terminal, the command is
curl -X 'PATCH' \ 'https://10.200.146.94:4003/v2/configuration/features/miracast' \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ -d '{ "enabled": true}' --insecure --user admin:admin
- On Windows Command Prompt, the command is:
curl -X "PATCH" "https://10.200.146.94:4003/v2/configuration/features/miracast" -H "accept: */*" -H "Content-Type: application/json" -d "{\"enabled\": true}" --insecure --user admin:admin
- On PowerShell 7.5, the command is
curl -X "PATCH" "https://10.200.146.130:4003/v2/configuration/features/miracast" -H "accept: */*" -H "Content-Type: application/json" -d '{"enabled": true}' --insecure --user admin:admin
- On PowerShell 1.0, the command is
./curl -X 'PATCH' 'https://10.200.146.130:4003/v2/configuration/features/miracast' -H 'accept: */*' -H 'Content-Type: application/json' -d '{\"enabled\": true}' --insecure --user admin:admin
Note: For additional REST API commands for your ClickShare device, see KB2162 for download instructions.