Response [200 Ok]
| Uri | /api/v2/comment/4375550 |
|---|---|
| UriDescription | Comment by ID |
| EndpointType | Comment |
| Locator | Comment |
| LocatorType | Object |
Comment [1 of 1]
- Jean
/api/v2/comment/4375550
| Uri | /api/v2/comment/4375550 |
|---|---|
| UriDescription | Comment by ID |
| Comment | Ah Topper, I remember you! |
| Date | 2011-03-05T23:42:25+00:00 |
| Name | Jean |
| ProfileImageURL | empty string |
| ProfileURL | empty string |
| Rating | 5 |
| Status | Approved |
Request
| Uri | /api/v2/comment/4375550 |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
DELETE
| Permissions |
|
|---|
Output Fields
| Comment | text | |
|---|---|---|
| Date | datetimeiso8601 | |
| Name | text | |
| ProfileImageURL | fullurl | |
| ProfileURL | fullurl | |
| Rating | integer | |
| ServiceID | integer | |
| SocialID | text | |
| Status |
select
|
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/comment/4375550"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
},
"DELETE": {
"Permissions": [
"Modify"
]
}
},
"Methods": [
"OPTIONS",
"GET"
],
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Output": [
{
"Name": "Comment",
"Type": "Text",
"MIN_CHARS": 0,
"MAX_CHARS": 60000
},
{
"Name": "Name",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": 50
},
{
"Name": "SocialID",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "ServiceID",
"Type": "Integer",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "Rating",
"Type": "Integer",
"MIN_VALUE": 0,
"MAX_VALUE": 5
},
{
"Name": "Status",
"Type": "Select",
"OPTIONS": [
"Pending",
"Approved"
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
},
{
"Name": "Date",
"Type": "DateTimeISO8601"
},
{
"Name": "ProfileURL",
"Type": "FullUrl",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "ProfileImageURL",
"Type": "FullUrl",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
}
],
"Path": [
{
"type": "path",
"text": "api"
},
{
"type": "path",
"text": "v2"
},
{
"type": "path",
"text": "comment"
},
{
"type": "singleparam",
"param_name": "commentid",
"param_value": "4375550",
"param_validator": {}
}
]
},
"Response": {
"Uri": "/api/v2/comment/4375550",
"Locator": "Comment",
"LocatorType": "Object",
"Comment": {
"Comment": "Ah Topper, I remember you!",
"Name": "Jean",
"Rating": 5,
"Status": "Approved",
"Date": "2011-03-05T23:42:25+00:00",
"ProfileURL": "",
"ProfileImageURL": "",
"Uri": "/api/v2/comment/4375550",
"UriDescription": "Comment by ID"
},
"UriDescription": "Comment by ID",
"EndpointType": "Comment",
"Timing": {
"Total": {
"time": 0.04945,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}