新用户?
立刻注册!

回头用户?
登录!


忘记密码?


完全免费!

ANDROID DEV
在此注册

忘记密码?


正在加载...

您已离成为Aptoider更近了一步!

我们会将确认电子邮件发送至

在此期间,请继续完成注册步骤。


继续完成最后步骤 糟糕…电子邮件错误…

需要“联系我们”?

请插入电子邮件地址 密码必须:<br>- 至少包含8个字符<br>- 包含1个字母<br>- 包含1个数字或1个特殊字符(!@#$%*) 此url无效,请输入有效的url。 只能使用字母、数字和/或破折号。请勿使用空格! 请插入名称 业务名称应少于40个字符。 请插入地址。 请插入公司名称。 请插入有效的国家/地区。 请插入有效的电话号码。 请插入有效的电话号码。 请插入城市。 请插入邮政编码。 请插入税号/增值税。 您必须同意使用条款。 您必须选择一项 重试 立即加入 https://www.aptoide.com/phpajax/onboarding.php
本网站使用cookie来提高服务质量。浏览该网站即表示您同意使用cookies。
我明白 了解更多

网络服务文件

setComment

URLS:

POST

支持的格式:

JSON

支持的方法:

POST

说明:

Set a comment

参数:

名称 说明 输入 详情
access_token Authentication access token. TOKEN
Default: null
Properties: • Max length: 512
Example: "cGF1bG8udHJlemVudG9zQGFwdG9pZGUuY29tOkF"
body Comment body. STRING
Default: null
Properties: • Max length: 1000
Example: "This app is amazing"
card_uid Card unique ID. STRING
Default: null
Properties: • Length: 64
Example: "107f6a7de18a73aef0151c7321dd4814c41f911484f1c2e2463d1d40be1fddd6"
cdn CDN type selector. STRING
Default: "pool"
Properties: • Allowed values: "pool", "web", "apw", "cdn9"
Example: "web"
comment_id Comment ID. +INT31
Default: null
Example: 1472559
info Show API info page. BOOLEAN
Default: false
Example: true
language Language. STRING
Default: "en"
Properties: • Min length: 2
• Max length: 6
Example: "pt_PT"
meta Origin meta json object. JSON
Default: []
Example: []
mode Comment mode. STRING
Default: null
Properties: • Allowed values: "available", "unavailable", "removed"
Example: "available"
review_id Review ID. +INT31
Default: null
Example: 1472559
status Comment status. STRING
Default: null
Properties: • Allowed values: "pending", "approved", "suspended"
Example: "approved"
store_id Store ID. +INT31
Default: null
Example: 15
store_name Store name. DOMAIN_LABEL
Default: null
Example: "apps"
tag_name Tag name. DOMAIN_LABEL
Default: null
Example: "community"

命令参数:

This endpoint requires 1 of the following possible combinations of arguments:

• review_id 和 body

• store_id 和 body

• store_name 和 body

• card_uid 和 body

• comment_id 和 body

• comment_id 和 status

• comment_id 和 mode

参数别名:

This endpoint has the following possible arguments aliases:

• language : lang

输入:

名称 说明 例子
+INT31 31 bits positive integer:
   1 to 2147483647

• 1

• 5024

• 70733

BOOLEAN Boolean:
   FALSE (0, f, false, no, off)
   or
   TRUE (1, t, true, yes, on)

• 0

• 1

• true

• "f"

DOMAIN_LABEL Web domain label

• "site"

• "my-domain-label"

• "some-other-domain-label"

JSON JavaScript Object Notation

• {
   "a": "foo",
   "b": "bar",
   "foo": 125,
   "bar": ["x", "y", "z"]
}

STRING String of characters

• "a"

• "foobar"

• "Some text"

TOKEN Tokenized string of characters

• "ja-HK_1"

• "AjgI74-ash_86jhgasorw-5234"

• "1Eiayn9Suo3fcgKrQq8qHwCz3MP"

响应:

• application/json

错误代码:

名称 说明 Http代码
API-1 Invalid value ... for argument '...' 400   Bad Request
API-2 Invalid output '...' 400   Bad Request
API-3 Missing mandatory arguments '...' 400   Bad Request
API-4 At least 1 node must be set 400   Bad Request
API-5 Malformed node at ... 400   Bad Request
API-6 Invalid node '...' 400   Bad Request
API-7 Missing mandatory arguments '...' for condition '...' 400   Bad Request
AUTH-1 Authentication required 401   Unauthorized
AUTH-2 Authentication failed: invalid '...' 401   Unauthorized
AUTH-3 Authentication failed: expired '...' 401   Unauthorized
AUTH-4 Authentication error 500   Internal Server Error
AUTH-5 Access denied: access level ... required 403   Forbidden
AUTH-6 Access denied: not in allowed groups 403   Forbidden
AUTH-7 Access denied: not in allowed countries 403   Forbidden
AUTH-8 Access denied: not in allowed IP addresses 403   Forbidden
AUTH-9 Access denied: not in allowed domains 403   Forbidden
AUTH-10 Access denied: not in allowed origins (CORS) 403   Forbidden
AUTH-11 Access denied: unauthorized user 403   Forbidden
AUTH-12 Access denied: unauthorized operation 403   Forbidden
COMMENT-1 Comment '...' not found 404   Not Found
COMMENT-2 Operation not allowed for comment 403   Forbidden
SYS-0 (╯°□°)╯︵ ┻━┻ 417   Expectation Failed
SYS-1 An unknown system error occurred, please try again 500   Internal Server Error
SYS-2 The system is down for maintenance, please try again later 503   Service Unavailable
SYS-3 Operation timed out, please try again later 504   Gateway Timeout

示例请求URL:

https://ws75-primary.aptoide.com/api/7/comment/set

请求POST数据:

review_id : 1314

body : "This is an amazing app"

示例响应 (json):

{
   "info": {
      "status": "OK",
      "time": {
         "seconds": 0.017656087875366,
         "human": "17 milliseconds"
      }
   }
}