Skip to content

Commit 4f219da

Browse files
committed
add autogenerated stubs
- for comments endpoint
1 parent b8119d7 commit 4f219da

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"status": 200,
3+
"data": {
4+
"object": "list",
5+
"results": [
6+
{
7+
"object": "comment",
8+
"id": "99457ae4-8262-413a-b224-0bd82346d885",
9+
"parent": {
10+
"type": "page_id",
11+
"page_id": "cb588bcb-cbdb-4f2e-ac3d-b05446b8f5d9"
12+
},
13+
"discussion_id": "f203fa27-fe02-40c9-be9f-fb35e2e956ba",
14+
"created_time": "2023-02-18T10:53:00.000Z",
15+
"last_edited_time": "2023-02-18T10:53:00.000Z",
16+
"created_by": {
17+
"object": "user",
18+
"id": "04536682-603a-4531-a18f-4fa89fdfb4a8"
19+
},
20+
"rich_text": [
21+
{
22+
"type": "text",
23+
"text": {
24+
"content": "This is a Test Comment for Laravel",
25+
"link": null
26+
},
27+
"annotations": {
28+
"bold": false,
29+
"italic": false,
30+
"strikethrough": false,
31+
"underline": false,
32+
"code": false,
33+
"color": "default"
34+
},
35+
"plain_text": "This is a Test Comment for Laravel",
36+
"href": null
37+
}
38+
]
39+
}
40+
],
41+
"next_cursor": null,
42+
"has_more": false,
43+
"type": "comment",
44+
"comment": []
45+
}
46+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"status": 404,
3+
"data": {
4+
"object": "error",
5+
"status": 404,
6+
"code": "object_not_found",
7+
"message": "Could not find block with ID: cbf6b0af-6eaa-45ca-9715-9fa147ef6b17. Make sure the relevant pages and databases are shared with your integration."
8+
}
9+
}

0 commit comments

Comments
 (0)