Skip to content

Like a Data Point

Request

LIke a review (Facebook, Foursquare, ...)

Security
X-API-KEY or Authorization
Path
idstringrequired

The data point id you want to like

curl -i -X POST \
  'https://uberall.com/api/data-points/{id}/like' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Data point liked

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "dataPoint": {
      "id": 0,
      "type": "REVIEW",
      "directoryType": "FOURSQUARE",
      "status": "VALID",
      "data": "string",
      "secondaryData": "text content on instagram pictures",
      "externalId": "string",
      "author": "string",
      "authorImage": "string",
      "directLink": "string",
      "rating": 0.1,
      "actionDate": "2019-08-24T14:15:22Z",
      "threadActionDate": "2019-08-24T14:15:22Z",
      "dateCreated": "2019-08-24T14:15:22Z",
      "lastUpdated": "2019-08-24T14:15:22Z",
      "lastChecked": "2019-08-24T14:15:22Z",
      "countLikes": 0,
      "countComments": 0,
      "countViews": 0,
      "liked": true,
      "flagged": true,
      "read": true,
      "actionDateGroup": "string",
      "repliedByOwner": true,
      "replyUserId": 0,
      "comments": [
        {
          "id": 0,
          "type": "REVIEW",
          "directoryType": "FOURSQUARE",
          "status": "VALID",
          "data": "string",
          "secondaryData": "text content on instagram pictures",
          "externalId": "string",
          "author": "string",
          "authorImage": "string",
          "directLink": "string",
          "rating": 0.1,
          "actionDate": "2019-08-24T14:15:22Z",
          "threadActionDate": "2019-08-24T14:15:22Z",
          "dateCreated": "2019-08-24T14:15:22Z",
          "lastUpdated": "2019-08-24T14:15:22Z",
          "lastChecked": "2019-08-24T14:15:22Z",
          "countLikes": 0,
          "countComments": 0,
          "countViews": 0,
          "liked": true,
          "flagged": true,
          "read": true,
          "actionDateGroup": "string",
          "repliedByOwner": true,
          "replyUserId": 0,
          "comments": [
            {}
          ],
          "replyByOwner": true,
          "reviewPolicyUrl": "string",
          "parentId": 0,
          "locationId": 0,
          "connectStatus": "string",
          "supportsReply": true,
          "supportsLike": true,
          "supportsUnlike": true,
          "supportedFlagTypes": [
            "OFFENSIVE"
          ],
          "hasRepliesInApprovalNeeded": true,
          "approvalNeeded": true,
          "replyMaxLength": 0,
          "recommended": true
        }
      ],
      "replyByOwner": true,
      "reviewPolicyUrl": "string",
      "parentId": 0,
      "locationId": 0,
      "connectStatus": "string",
      "supportsReply": true,
      "supportsLike": true,
      "supportsUnlike": true,
      "supportedFlagTypes": [
        "OFFENSIVE"
      ],
      "hasRepliesInApprovalNeeded": true,
      "approvalNeeded": true,
      "replyMaxLength": 0,
      "recommended": true
    }
  }
}