OBM event web service compatibility
POST/opr-web/rest/:version/event_list
Accepts OBM event submissions (XML or JSON) so that REST wrappers and tools only change the base URL (docs/integrations.md §2). HTTP basic authentication with the Source name as user and the intake token as password. Version 9.0 gets 415, as from OBM.
Request
Responses
- 202
- 401
- 403
- 413
- 415
- 422
- 429
- 503
Stored; the created events with their IDs, in OBM's format
intake.invalid_token: no, an unknown or a revoked intake token, or one of another Source
intake.sender_not_allowed: the sender address is outside the Source's allowFrom
request.too_large: over pipeline.maxEventBytes on intake, or the body limit of the operation
intake.unsupported_version: version 9.0
intake.payload_invalid: the body is not a payload of the channel. Mapping errors are stored as events with outcome mapping-error and answered 202.
intake.rate_limited: too many failed authentications from the sender address; intake.source_rate: the Source is over pipeline.sourceRate on this node; intake.hub_rate: the hub is over its events_per_second; intake.daily_quota: the hub is over three times its events_per_day until the end of the UTC day (docs/pipeline.md §2)
Response Headers
service.unavailable: the database can't take writes; retry after Retry-After