documentation not finished
Description set message is_read by ID
http://localhost:5000/freedata/messages/{message_id}
Parameters
message_id PATCH
Example
curl --request PATCH --url http://localhost:5000/freedata/messages/DXCALL-0_MYCALL-5_2024-04-04T17:22:14.002502 --header 'Content-Type: application/json' -d'{"is_read": true"}'
Results
{
"is_read": true
}
curl --request PATCH --url http://localhost:5000/freedata/messages/DXCALL-0_MYCALL-5_2024-04-04T17:22:14.002502 --header 'Content-Type: application/json' -d'{"is_read": true"}'
Results
{
}
{
}
Example
curl --request PATCH --url http://localhost:5000/freedata/messages/DXCALL-0_MYCALL-5_2024-04-04T17:22:14.002502 --header 'Content-Type: application/json' -d'{"is_read": true"}'
Results
{
}
Errors
This API uses the following error codes:
404 Not Found
: The requested resource was not found.503 Modem not running
: Modem not running.