Skip to content

Latest commit

 

History

History
93 lines (48 loc) · 2.59 KB

IndexerConfigApi.md

File metadata and controls

93 lines (48 loc) · 2.59 KB

\IndexerConfigApi

All URIs are relative to http://localhost:7878

Method HTTP request Description
get_indexer_config GET /api/v3/config/indexer
get_indexer_config_by_id GET /api/v3/config/indexer/{id}
update_indexer_config PUT /api/v3/config/indexer/{id}

get_indexer_config

models::IndexerConfigResource get_indexer_config()

Parameters

This endpoint does not need any parameter.

Return type

models::IndexerConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

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

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

get_indexer_config_by_id

models::IndexerConfigResource get_indexer_config_by_id(id)

Parameters

Name Type Description Required Notes
id i32 [required]

Return type

models::IndexerConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

update_indexer_config

models::IndexerConfigResource update_indexer_config(id, indexer_config_resource)

Parameters

Name Type Description Required Notes
id String [required]
indexer_config_resource Option<IndexerConfigResource>

Return type

models::IndexerConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain, application/json, text/json

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