Extended bit management interface
Interface Name | Introductions |
Add promotion bit | Support alliance developers to add promotion bits via interface |
Delete promotion bit | Support alliance developers to remove promotion bits via interface |
Editorial Promotion Position | Support alliance developers to popularize bit names through interface editing |
Get a list of promoted bits | Support alliance developers to get promoted bit list via interface |
Interface Dxplaination
Support alliance developer call interface add promotion bit
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
promotionSourceName | string | | yes | Extended bit name (maximum 20 words, name not repeatable) |
POST sample
Return value
Object
Returned JSON Data packet
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
pid | string | Generalized Bit ID, PID |
Return Example
Error code
value | Introductions |
14005 | Maximum number of promotion places |
14007 | Extended bit name duplication |
Interface Dxplaination
Delete a promotion bit
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
promotionSourcePid | string | | yes | Generalized bit PID |
promotionSourceName | string | | yes | Promotion bit name |
POST sample
Return value
Object
Returned JSON Data packet
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
3. Editorial outreach
Interface Dxplaination
Modify the specified promoted bit name
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
previousPromotionInfo | Object | | yes | |
previousPromotionInfo.promotionSourcePid | string | | yes | Generalized bit PID to modify |
previousPromotionInfo.promotionSourceName | string | | yes | Name before modification |
promotionInfo | Object | | yes | |
promotionInfo.promotionSourceName | string | | yes | Name modified |
POST sample
Return value
Object
Returned JSON Data packet
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
Interface Dxplaination
Get a list of promoted bits
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
start | number | 0 | yes | deviation |
limit | number | 20 | yes | Number of posts per page |
Return value
Object
Returned JSON Data packet
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
total | number | Total number of promotion places |
promotionMaxCnt | number | Maximum number of promoted bits allowed |
promotionSourceList | Array.<Object> | Promotion bit data |
promotionSourceList Structure
attribute | type | Introductions |
promotionSourceName | string | Promotion bit name |
promotionSourcePid | string | Generalized Bit ID, PID |
Return Example