post Create or update proxy comment.

/api/client/v1/proxies/{id}/comment
comment

A new comment is created for the specified proxy, replacing the old one (if it exists). Commenting can help organize proxies by tags, track proxy rotation/expiration, or store notes related to specific use cases (e.g., restricted access to certain services). Please note that posting a new comment completely overwrites any existing comment for the proxy.

Parameters

id
Обязательный
Proxy ID. The comment will be assigned to the specified proxy using its ID, which is generated by the OnlineProxy server upon purchase.
В: path
Схема:
  • integer:int64
    Пример: 1

Тело запроса

Тип содержимого:
application/json
  • Schema
  • Example
  • object
    CreateOrUpdateProxyCommentRequest
    Пример: {"comment":"string"}
    Свойства:
    • comment
      string
      Обязательный
      Comment for the proxy. You can add any information you may need or want, but keep in mind the maximum length of the comment.
      Пример: "string"
      Максимальное количество элементов: 255

Ответы

200

OK. The comment for the specified proxy has been successfully updated.
Тип содержимого:
application/json
  • Schema
  • Example
  • object
    Пример: {"comment":"string"}
    Свойства:
    • comment
      string
      Comment
      Пример: "string"

401

Unauthorized. Missing or invalid authentication token, please check the Authorization header.
Тип содержимого:
application/json
  • Schema
  • Example
  • object
    ErrorResponse
    Пример: {"message":"string","errors":{}}
    Свойства:
    • message
      string
      Обязательный
      Error message
      Пример: "string"
    • errors
      object or null
      Input validation errors
      Пример: {}

403

Forbidden. API access denied. Please check your Account settings to ensure that API access is enabled and your IP address is listed in the Access IPs section. If the issue persists, please contact us.

Тип содержимого:
application/json
  • Schema
  • Example
  • object
    ErrorResponse
    Пример: {"message":"string","errors":{}}
    Свойства:
    • message
      string
      Обязательный
      Error message
      Пример: "string"
    • errors
      object or null
      Input validation errors
      Пример: {}

422

Unprocessable Entity. Please check the length of the comment; it cannot exceed 255 characters.
Тип содержимого:
application/json
  • Schema
  • Example
  • object
    ErrorResponse
    Пример: {"message":"string","errors":{}}
    Свойства:
    • message
      string
      Обязательный
      Error message
      Пример: "string"
    • errors
      object or null
      Input validation errors
      Пример: {}