List comments
curl --request GET \
--url https://api.1-news.app/v1/projects/{projectId}/comments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"comments": [
{}
]
}Comments
List comments
GET /v1/projects//comments lists recent comments, each with its author, body, status, and story.
GET
/
v1
/
projects
/
{projectId}
/
comments
List comments
curl --request GET \
--url https://api.1-news.app/v1/projects/{projectId}/comments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"comments": [
{}
]
}