Skip to main content
POST
Report connector status

Authorizations

Authorization
string
header
required

JWT signed (HS256) with a per-user server-side secret; revocable per user. Token handling follows RFC8725 (JWT best current practices): algorithm pinned by the server, no none, claims checked against the live user record. See the API description for the compatibility forms (Basic, query parameter).

Body

application/json
agid
string
required

Connector (agent) id.

Maximum string length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@-]*$
mgid
string

Organization GID (OFA-GID- + 16 characters).

Maximum string length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@-]*$
Example:

"OFA-GID-a1B2c3D4e5F6g7H8"

code
integer<int32>

-1 updates the stored record of the connector; other values insert a new status record.

Required range: -1 <= x <= 1000
score_threshold
integer<int32>
Required range: 0 <= x <= 1000
sync_time
integer<int32>
Required range: 0 <= x <= 2147483647
maximum_rules
integer<int32>
Required range: 0 <= x <= 2147483647
hostname
string
Maximum string length: 253
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
plugin
string
Maximum string length: 128
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
blacklist
string[]

Rules currently applied by the connector.

Maximum array length: 1000000
Maximum string length: 4096
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
config
object

Connector configuration, merged with the stored one (stored values win where the connector omits them).

active
boolean
ts
integer<int64>

Unix time in milliseconds.

Required range: 0 <= x <= 99999999999999

Response

Updated.