The Comment resource in the system namespace provides system administrators with access to comments across all domains for system-wide comment management.
Key Difference from Admin: The system namespace provides cross-tenant access for system administrators, while the admin namespace is scoped to a single domain.
/system/comments
Path:
/system/commentsNamespace: system
Resource: comments
Overview
The Comment resource in the system namespace provides system administrators with access to comments across all domains for system-wide comment management.
Key Difference from Admin: The system namespace provides cross-tenant access for system administrators, while the admin namespace is scoped to a single domain.
Relationships
See Admin Comments for complete relationship documentation. System comments use the same Comment model with system-wide access.
Available Operations
List Comments (GET)
Endpoint:
GET /system/comments.jsonQuery Parameters:
q[field_predicate]=value- Ransack query filters for advanced filteringpage=N- Page number for paginationper_page=N- Items per page (default: 25)Request Examples:
2
3
JavaScript Example:
2
3
4
5
Response (200 OK):
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Show Comment (GET /:id)
Endpoint:
GET /system/comments/:id.jsonRequest Example:
2
3
JavaScript Example:
2
3
4
5
Response (200 OK):
2
3
4
5
6
7
8
9
10
11
Create Comment (POST)
Endpoint:
POST /system/comments.jsonRequest Example:
2
3
4
5
6
7
8
9
10
11
JavaScript Example:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Response (201 Created):
2
3
4
5
6
7
8
9
10
Update Comment (PATCH /:id)
Endpoint:
PATCH /system/comments/:id.jsonRequest Example:
2
3
4
5
6
7
8
9
JavaScript Example:
2
3
4
5
6
7
8
9
10
11
12
13
14
Response (200 OK):
2
3
4
5
6
7
Delete Comment (DELETE /:id)
Endpoint:
DELETE /system/comments/:id.jsonRequest Example:
2
3
JavaScript Example:
2
3
4
5
Response (204 No Content):
Scopes
See Admin Comments for complete scope documentation. System namespace supports the same scopes as admin namespace, but across all tenants.
Filters
See Admin Comments for complete filter documentation. System namespace supports the same filters as admin namespace, but across all tenants.
Business Rules
Related Resources