{
  "opencollection": "1.0.0",
  "info": {
    "name": "Phrase Strings API Reference Accounts Comment Replies API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Comment Replies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List replies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number"
              },
              {
                "name": "per_page",
                "value": "25",
                "type": "query",
                "description": "Limit on the number of objects to be returned, between 1 and 100. 25 by default"
              },
              {
                "name": "branch",
                "value": "my-feature-branch",
                "type": "query",
                "description": "specify the branch to use"
              },
              {
                "name": "query",
                "value": "Some comment content",
                "type": "query",
                "description": "Search query for comment messages"
              },
              {
                "name": "filters",
                "value": "",
                "type": "query",
                "description": "Specify the filter for the comments"
              },
              {
                "name": "order",
                "value": "desc",
                "type": "query",
                "description": "Order direction. Can be one of: asc, desc."
              }
            ]
          },
          "docs": "List all replies for a comment."
        },
        {
          "info": {
            "name": "Create a reply",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new reply for a comment."
        },
        {
          "info": {
            "name": "Get a single reply",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies/:id",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID"
              },
              {
                "name": "branch",
                "value": "my-feature-branch",
                "type": "query",
                "description": "specify the branch to use"
              }
            ]
          },
          "docs": "Get details on a single reply."
        },
        {
          "info": {
            "name": "Delete a reply",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies/:id",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID"
              },
              {
                "name": "branch",
                "value": "my-feature-branch",
                "type": "query",
                "description": "specify the branch to use"
              }
            ]
          },
          "docs": "Delete an existing reply."
        },
        {
          "info": {
            "name": "Mark a reply as read",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies/:id/mark_as_read",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID"
              },
              {
                "name": "branch",
                "value": "my-feature-branch",
                "type": "query",
                "description": "specify the branch to use"
              }
            ]
          },
          "docs": "Mark a reply as read."
        },
        {
          "info": {
            "name": "Mark a reply as unread",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies/:id/mark_as_unread",
            "headers": [
              {
                "name": "X-PhraseApp-OTP",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Translation Key ID"
              },
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID"
              },
              {
                "name": "branch",
                "value": "my-feature-branch",
                "type": "query",
                "description": "specify the branch to use"
              }
            ]
          },
          "docs": "Mark a reply as unread."
        }
      ]
    }
  ],
  "bundled": true
}