Skip to content

Commit 40db03f

Browse files
committed
up
1 parent d87e4ea commit 40db03f

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

README.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,82 @@ This query is limited by 100 comments for each query.
8282

8383
`$client->exportComments();`
8484

85+
list 100 message in json array :
86+
87+
```
88+
{
89+
comments : [
90+
{
91+
"cached_author": {
92+
"username": "gc",
93+
"email": "[email protected]"
94+
},
95+
"guest": false,
96+
"status": "approved",
97+
"spam": false,
98+
"_id": "5cb0621843647e1332eba194",
99+
"content": "test from GC 7",
100+
"thread": {
101+
"_id": "5c790ace3f227b1ac45a29b7",
102+
"url": "http://localhost:8080/?p=5",
103+
"page_title": "Article with GC",
104+
"guid": "http://localhost:8080/?p=5",
105+
"uid": "5"
106+
},
107+
"author": {
108+
"profiles": [
109+
{
110+
"language": "fr",
111+
"_id": "5c790acd3f227b1ac45a29b6",
112+
"username": "gc",
113+
"email": "[email protected]",
114+
"uid": "1"
115+
}
116+
],
117+
"_id": "59c0cd87740e0704dba1cf6b"
118+
},
119+
"ip": "176.164.57.27",
120+
"edited_at": "2019-04-12T10:02:00.376Z",
121+
"created_at": "2019-04-12T10:02:00.343Z"
122+
},
123+
{
124+
"cached_author": {
125+
"username": "gc",
126+
"email": "[email protected]"
127+
},
128+
"guest": false,
129+
"status": "deleted",
130+
"spam": false,
131+
"_id": "5cb0621843647e1332eba194",
132+
"content": "test from GC 7",
133+
"thread": {
134+
"_id": "5c790ace3f227b1ac45a29b7",
135+
"url": "http://localhost:8080/?p=5",
136+
"page_title": "Article with GC",
137+
"guid": "http://localhost:8080/?p=5",
138+
"uid": "5"
139+
},
140+
"author": {
141+
"profiles": [
142+
{
143+
"language": "fr",
144+
"_id": "5c790acd3f227b1ac45a29b6",
145+
"username": "gc",
146+
"email": "[email protected]",
147+
"uid": "1"
148+
}
149+
],
150+
"_id": "59c0cd87740e0704dba1cf6b"
151+
},
152+
"ip": "176.164.57.27",
153+
"edited_at": "2019-04-12T10:02:00.376Z",
154+
"created_at": "2019-04-12T10:02:00.343Z"
155+
}
156+
157+
]
158+
}
159+
```
160+
85161
- Valid Import Comments in your system, send us confirmation
86162

87163
`$client->exportConfirmComments([comment_id1, comment_id2, comment_id3...]);`

0 commit comments

Comments
 (0)