OkayAPI Docs


API Path: /api/App/Table/DropOneByOne

API Description: RDUnique The data is obtained in ascending order according to the primary key ID, and deleted immediately after retrieval, thereby achieving the acquisition of non-duplicate data. This interface can ensure non-duplication of data even under high concurrency.

2
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
model_nameStringRequiredYour table Model Name

API Debug

KEYREQUIREDVALUE
app_key *Required
model_name *Required

API Response

KEYTypeDescription
err_codeInt状态操作码,0成功;1开发类错误,获取失败(表单不存在);2应用层规则拦截,拦截后可以小白开放平台查看日记;3No-data-found;4并发太大,请稍候重试!
err_msgString错误提示信息,err_code非0时参考此提示信息
dataObject获取到的非重复数据,即整条纪录数据。

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400Illegal-Params
Http Status = 401Illegal-Token
Http Status = 402IP-Banned
Http Status = 404API-NOT-Exsits
Http Status = 406Illegal-APPKEY
Http Status = 407APPKEY-Expired-Out
Http Status = 408APPKEY-Busy
Http Status = 409Illegal-Sign
Http Status = 413API-Traffic-NOT-Enough
Http Status = 415API-LOCKED
Http Status = 500Internal-Server-Error