Skip to content

Anonymous CLI install/update telemetry ping (unauthenticated, IP-rate-limited).

POST
/v1/cli/install
curl --request POST \
--url https://api.share2.us/v1/cli/install \
--header 'Content-Type: application/json' \
--data '{ "install_id": "example", "event_type": "install", "version": "example", "os": "example", "arch": "example" }'
Media typeapplication/json
object
install_id
required

Random anonymous id the CLI generates once on first run.

string
event_type
string
default: install
Allowed values: install update
version
string
os
string
arch
string

Recorded (always acked; telemetry is best-effort).

Standard error envelope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{
"error": {
"code": "quota_exceeded"
}
}