post Create or update proxy comment.
/api/client/v1/proxies/{id}/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
- objectCreateOrUpdateProxyCommentRequestПример:
{"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
stringCommentПример:"string"
401
Unauthorized. Missing or invalid authentication token, please check the Authorization header.
Тип содержимого:
application/json
- Schema
- Example
- objectErrorResponseПример:
{"message":"string","errors":{}}
Свойства:message
stringОбязательныйError messageПример:"string"
errors
object or nullInput 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
- objectErrorResponseПример:
{"message":"string","errors":{}}
Свойства:message
stringОбязательныйError messageПример:"string"
errors
object or nullInput validation errorsПример:{}
422
Unprocessable Entity. Please check the length of the comment; it cannot exceed 255 characters.
Тип содержимого:
application/json
- Schema
- Example
- objectErrorResponseПример:
{"message":"string","errors":{}}
Свойства:message
stringОбязательныйError messageПример:"string"
errors
object or nullInput validation errorsПример:{}