Upserts the NethLink last-seen row for the authenticated user (one row per user). The username is taken from the JWT and the timestamp is generated server-side. The optional body carries the client's extension and, additionally to the legacy nethcti-server endpoint, the NethLink version and OS details.
POST
/user/nethlink
curl \
--request POST 'http://localhost:8080/user/nethlink' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"extension": "string",
"nethlink_version": "string",
"os_type": "string",
"os_release": "string",
"arch": "string"
}'
Request examples
{
"extension": "string",
"nethlink_version": "string",
"os_type": "string",
"os_release": "string",
"arch": "string"
}
Response examples (200)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (401)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (500)
{
"code": 42,
"message": "string",
"error": "string"
}