1 Star 1 Fork 0

Indexea / indexea-rust-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
FieldsApi.md 4.01 KB
一键复制 编辑 原始数据 按行查看 历史
Indexea 提交于 2023-09-24 13:05 . update

\FieldsApi

All URIs are relative to https://api.indexea.com/v1

Method HTTP request Description
index_period_fields GET /indices/{app}/{index}/fields 获取索引字段映射详情
index_period_update_fields POST /indices/{app}/{index}/fields 更新索引的字段映射
index_period_update_html_strip_fields PATCH /indices/{app}/{index}/fields 更新索引的HTML过滤字段列表
index_period_values_of_field GET /indices/{app}/{index}/fields/{field} 获取索引字段的所有值列表

index_period_fields

serde_json::Value index_period_fields(app, index) 获取索引字段映射详情

Parameters

Name Type Description Required Notes
app String 应用标识 [required]
index i32 索引编号 [required]

Return type

serde_json::Value

Authorization

TokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

index_period_update_fields

serde_json::Value index_period_update_fields(app, index, body) 更新索引的字段映射

Parameters

Name Type Description Required Notes
app String 应用标识 [required]
index i32 索引编号 [required]
body serde_json::Value [required]

Return type

serde_json::Value

Authorization

TokenAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

index_period_update_html_strip_fields

serde_json::Value index_period_update_html_strip_fields(app, index, body) 更新索引的HTML过滤字段列表

Parameters

Name Type Description Required Notes
app String 应用标识 [required]
index i32 索引编号 [required]
body serde_json::Value [required]

Return type

serde_json::Value

Authorization

TokenAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

index_period_values_of_field

Veccrate::models::ValueOfField index_period_values_of_field(app, index, field, size) 获取索引字段的所有值列表

Parameters

Name Type Description Required Notes
app String 应用标识 [required]
index i32 索引编号 [required]
field String 字段名称 [required]
size i32 values count [required] [default to 20]

Return type

Veccrate::models::ValueOfField

Authorization

TokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

1
https://gitee.com/indexea/indexea-rust-sdk.git
git@gitee.com:indexea/indexea-rust-sdk.git
indexea
indexea-rust-sdk
indexea-rust-sdk
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891