{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deprecated eToro Public API operations Agent Portfolios Likes API",
    "version": "v1.158.0"
  },
  "items": [
    {
      "info": {
        "name": "Likes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Like a comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/posts/:postId/comments/:commentId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              },
              {
                "name": "commentId",
                "value": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                "type": "path",
                "description": "ID of the parent comment (UUID)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Toggles a Like emotion on the specified comment for the authenticated user. emotionType defaults to Like (the only supported emotion type). The call is idempotent — liking an already-liked entity succeeds silently."
        },
        {
          "info": {
            "name": "Unlike a comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/posts/:postId/comments/:commentId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              },
              {
                "name": "commentId",
                "value": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                "type": "path",
                "description": "ID of the parent comment (UUID)"
              }
            ]
          },
          "docs": "Removes the authenticated user's Like from the specified comment. emotionType defaults to Like (the only supported emotion type). The call is idempotent — unliking an entity with no active like succeeds silently."
        },
        {
          "info": {
            "name": "Like a reply",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/posts/:postId/comments/:commentId/replies/:replyId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              },
              {
                "name": "commentId",
                "value": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                "type": "path",
                "description": "ID of the parent comment (UUID)"
              },
              {
                "name": "replyId",
                "value": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                "type": "path",
                "description": "ID of the reply (UUID)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Toggles a Like emotion on the specified reply for the authenticated user. emotionType defaults to Like (the only supported emotion type). The call is idempotent — liking an already-liked entity succeeds silently."
        },
        {
          "info": {
            "name": "Unlike a reply",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/posts/:postId/comments/:commentId/replies/:replyId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              },
              {
                "name": "commentId",
                "value": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                "type": "path",
                "description": "ID of the parent comment (UUID)"
              },
              {
                "name": "replyId",
                "value": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                "type": "path",
                "description": "ID of the reply (UUID)"
              }
            ]
          },
          "docs": "Removes the authenticated user's Like from the specified reply. emotionType defaults to Like (the only supported emotion type). The call is idempotent — unliking an entity with no active like succeeds silently."
        },
        {
          "info": {
            "name": "Like a post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/posts/:postId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Toggles a Like emotion on the specified post for the authenticated user. emotionType defaults to Like (the only supported emotion type). The call is idempotent — liking an already-liked entity succeeds silently."
        },
        {
          "info": {
            "name": "Unlike a post",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/posts/:postId/likes",
            "headers": [
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "postId",
                "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "type": "path",
                "description": "ID of the parent post (UUID)"
              }
            ]
          },
          "docs": "Removes the authenticated user's Like from the specified post. emotionType defaults to Like (the only supported emotion type). The call is idempotent — unliking an entity with no active like succeeds silently."
        }
      ]
    }
  ],
  "bundled": true
}