Skip to content

Commit

Permalink
Add reported status
Browse files Browse the repository at this point in the history
  • Loading branch information
jhass committed Feb 9, 2020
1 parent 43909f3 commit c43d1bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions _routes/comments.md
Expand Up @@ -28,7 +28,8 @@ GET /api/v1/posts/:post_guid/comments
"avatar": "http://example.com/uploads/images/thumb_medium_83abe5319ef830c2bd84.jpg"
},
"body": "What a wonderful post!",
"mentioned_people": []
"mentioned_people": [],
"reported": false
},
{
"guid": "9d164700b82f0133e40d406c8f31e210",
Expand All @@ -46,8 +47,9 @@ GET /api/v1/posts/:post_guid/comments
"diaspora_id": "alice@example.com",
"name": "Alice Testing",
"avatar": "http://example.com/uploads/images/thumb_medium_83abe5319ef830c2bd84.jpg"
}
]
},
],
"reported": false
}
]
~~~
Expand Down
3 changes: 2 additions & 1 deletion _routes/posts.md
Expand Up @@ -227,7 +227,8 @@ GET /api/v1/posts/:post_guid
"own_interaction_state": {
"liked": false,
"reshated": false,
"subscribed": false
"subscribed": false,
"reported": false
}
}
~~~
Expand Down

0 comments on commit c43d1bb

Please sign in to comment.