- General
- Endpoints
Retrieve Comment List
GET
/collection/{collection_id}/comment
Comment
Request
Path Params
collection_id
string <uuid>
required
Example:
{{$string.uuid}}
Query Params
filter
string
optional
sort
string
optional
show
string
optional
hide
string
optional
with
string
optional
Header Params
x-api-key
string
required
Default:
{{api_key}}
x-api-env
string
required
Default:
{{api_env}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.vplan.com/v1/collection/{{$string.uuid}}/comment?limit=100&offset=0&filter=&sort=&show=&hide=&with=' \
--header 'x-api-key;' \
--header 'x-api-env;'
Responses
🟢200Ok
application/json
Body
count
integer <uint64>
optional
>= 0
Default:
1
limit
integer <uint64>
optional
>= 0<= 1000
Default:
100
offset
integer <uint64>
optional
>= 0
Default:
0
data
array[object (Comment) {7}]
required
id
string <uuid>
read-onlyoptional
text
string
optional
user_mentions
array [object {7}]
optional
collection_id
string <uuid>
required
user_id
string <uuid>
required
created_at
string <date-time>
read-onlyoptional
Example:
2024-04-11T10:22:15Z
updated_at
string <date-time>
read-onlyoptional
Example:
2024-04-11T10:22:15Z
Example
{
"count": 1,
"limit": 100,
"offset": 0,
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"text": "string",
"user_mentions": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"name": "string",
"tag": "string",
"indices": [
0
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"created_at": "2024-04-11T10:22:15Z",
"updated_at": "2024-04-11T10:22:15Z"
}
]
}
🟠404Not Found
🟠401Not Logged In