精确搜索
POST
http://reg01.public.internetofdata.cn:21033/SCIDE/SCManager
请求参数
Body 参数application/json
operation
string
接口名称
id
string
数字对象标识
doipUrl
string
DOIP地址
op
string
操作类型
attributes
string
操作属性
searchMode
string
搜索模式
示例
{
"action": "executeContract",
"contractID": "BDBrowser",
"operation": "sendRequestDirectly",
"arg": {
"id": "670E241C9937B3537047C87053E3AA36",
"doipUrl": "tcp://reg01.public.internetofdata.cn:21037",
"op": "Search",
"attributes": {
"offset": 0,
"count": 5,
"bodyBase64Encoded": false,
"searchMode": [
{
"key": "doId",
"value": "10.48550/arXiv.1801.00824v1",
"type": "MUST"
}
]
},
"body":""
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://reg01.public.internetofdata.cn:21033/SCIDE/SCManager' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "executeContract",
"contractID": "BDBrowser",
"operation": "sendRequestDirectly",
"arg": {
"id": "670E241C9937B3537047C87053E3AA36",
"doipUrl": "tcp://reg01.public.internetofdata.cn:21037",
"op": "Search",
"attributes": {
"offset": 0,
"count": 5,
"bodyBase64Encoded": false,
"searchMode": [
{
"key": "doId",
"value": "10.48550/arXiv.1801.00824v1",
"type": "MUST"
}
]
},
"body":""
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-10-28 03:20:14