The Comments API lets your app show what people said about something, and lets the person using your app join in.
Base link: https://streetartcities.com/api/comments
API reference: open in Swagger UI, or grab the OpenAPI spec directly.
Endpoints
| Endpoint | Scope | What it does |
|---|---|---|
POST /api/comments | comments:write | Post a comment for the person using your app |
GET /api/comments/entity/:entity | – | The comments on something, newest first |
GET /api/comments/entity/:entity/count | – | How many comments something has |
GET /api/comments/count?entities=… | – | How many comments each of up to 100 things has |
Comments are public, so reading them doesn't need a token.
What you can comment on
You point at something with its type, a dot and its ID, like edit.b3d1c1f4-…. For now, you can post comments on suggestions in the review queue (edit). The reviewer handling it and everyone who commented on it before get a notification.
Posting a comment
curl -X POST https://streetartcities.com/api/comments \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "entity": "edit.b3d1c1f4-…", "comment": "Is this the one on the corner?" }'You can also send attachments, a list of links to images you uploaded.
To mention someone, put a link to their profile in the comment like <@Kim|https://streetartcities.com/users/123>. They get a notification, and the website and the app show it as @Kim.
A comment
{
"type": "Note",
"id": "f4e5d6",
"actor": {
"id": "a1b2c3",
"displayName": "Someone",
"href": "https://streetartcities.com/users/a1b2c3",
"avatar": "https://streetartcities.com/media/avatars/…/small.jpg"
},
"noteType": "comment",
"summary": "<Someone|https://streetartcities.com/users/a1b2c3>",
"content": "Is this the one on the corner?",
"attachments": [],
"published": "2026-11-03T12:00:00.000Z",
"likesCount": 0
}A new comment can take a moment to show up in the list and the count.
Errors
Errors look like this:
{ "error": { "message": "The comment can't be empty" } }You get a 400 for something you can't comment on (yet), a 404 when there's nothing with that ID, and a 403 when your app doesn't have the comments:write scope.