NetworkUserReportListResult network.user-report-list-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/network/user-report-list-result.v1.json
network.user-report-list-result@1 (ask 287): GET /api/v1/staff/user-reports on OpenVibe.Network, the staff queue for people holding staff.moderation.logs. Newest first, filtered by status (default open) and target subject, at most 200 rows (`limit`, default 50). A caller without the capability gets 403 user_reports.forbidden (problem+json).
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
reports | network.user-report | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: empty
{
"reports": []
}Valid: one-open
{
"reports": [
{
"id": 12,
"reporter": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"target": "usr_01JAB2C3D4E5F6G7H8J9K0MNT2",
"reason": "spam",
"detail": "",
"status": "open",
"created_at": "2026-11-11T03:30:00Z",
"updated_at": "2026-11-11T03:30:00Z"
}
]
}Rejected: bad-item
{
"reports": [
{
"id": 1,
"reporter": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"target": "not-a-subject",
"reason": "spam",
"detail": "",
"status": "open",
"created_at": "2026-11-11T03:30:00Z",
"updated_at": "2026-11-11T03:30:00Z"
}
]
}Rejected: not-array
{
"reports": {}
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.user-report-list-result@1', value); // { valid, errors: [{ path, message }] }