Upload one audit JSONL file to a Goggles tracker endpoint, mirroring the
reference app's post_audit_log_file contract: a POST of the raw NDJSON
body with Content-Type: application/x-ndjson, an optional bearer token, and
non-identifying X-Goggles-* source headers.
Validation matches the reference: the basename must be audit-*.jsonl, the
file must be at most 64 MiB, the endpoint must be https (or loopback http
for local testing), and a non-loopback endpoint requires a bearer token.
Throws a normalized error (HTTP <status>, request timed out, or
connection failed) on failure.
Upload one audit JSONL file to a Goggles tracker endpoint, mirroring the reference app's
post_audit_log_filecontract: aPOSTof the raw NDJSON body withContent-Type: application/x-ndjson, an optional bearer token, and non-identifyingX-Goggles-*source headers.Validation matches the reference: the basename must be
audit-*.jsonl, the file must be at most 64 MiB, the endpoint must behttps(or loopbackhttpfor local testing), and a non-loopback endpoint requires a bearer token. Throws a normalized error (HTTP <status>,request timed out, orconnection failed) on failure.