A comment's replies, oldest first
curl --request GET \
--url https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/repliesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/replies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/replies"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>",
"author": {
"username": "<string>",
"name": "<string>",
"image": "<string>"
},
"created_at": "<string>",
"reply_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"likes": 123,
"liked": true
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}Comments
A comment's replies, oldest first
All of them, past the first 3 that come with the comment.
GET
/
projects
/
{owner}
/
{slug}
/
comments
/
{id}
/
replies
A comment's replies, oldest first
curl --request GET \
--url https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/repliesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/replies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/projects/{owner}/{slug}/comments/{id}/replies"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>",
"author": {
"username": "<string>",
"name": "<string>",
"image": "<string>"
},
"created_at": "<string>",
"reply_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"likes": 123,
"liked": true
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}