Elasticsearch API
  1. Stack
Elasticsearch API
  • Accounts
    • Updates the current account
      PUT
    • Updates the current account
      PATCH
    • Fetch current account information
      GET
  • Authentication
    • Delete API key
      DELETE
    • Get API key
      GET
    • Create API key
      POST
    • Delete API keys
      DELETE
    • Get all API keys
      GET
  • BillingCostsAnalysis
    • Get costs overview for the organization
      GET
    • Get deployments costs for the organization
      GET
    • Get itemized costs for the organization
      GET
    • Get itemized costs by deployments
      GET
  • DeploymentTemplates
    • Get deployment templates
      GET
    • Get deployment template
      GET
  • Deployments
    • Shutdown Deployment Elasticsearch Resource
      POST
    • Start all instances
      POST
    • Restores a shutdown resource
      POST
    • Restores a shutdown Deployment
      POST
    • Set remote clusters
      PUT
    • Get remote clusters
      GET
    • Stop instances
      POST
    • Reset the secret token for an APM resource.
      POST
    • Get Deployment Enterprise Search Resource Info
      GET
    • Get Deployment Kibana Resource Info
      GET
    • Set AppSearch read-only status
      PUT
    • Set AppSearch read-only status
      GET
    • Start instances
      POST
    • Restart Deployment Stateless Resource
      POST
    • Shuts down Deployment
      POST
    • Migrate Elasticsearch resource to use SLM
      POST
    • Start maintenance mode
      POST
    • Restart Deployment Elasticsearch Resource
      POST
    • Start maintenance mode (all instances)
      POST
    • Reset 'elastic' user password
      POST
    • Stop all instances
      POST
    • Migrate Elasticsearch and associated Kibana resources to enable CCR
      POST
    • Add or remove settings from the Elasticsearch resource keystore
      PATCH
    • Get the settings from the Elasticsearch resource keystore
      GET
    • Search Deployments
      POST
    • Get eligible remote clusters
      POST
    • Update Deployment
      PUT
    • Get Deployment
      GET
    • Get Deployment Elasticsearch Resource Info
      GET
    • Stop maintenance mode (all instances)
      POST
    • Migrate Elasticsearch resource to use ILM
      POST
    • Shutdown Deployment Stateless Resource
      POST
    • Get Deployment APM Resource Info
      GET
    • Stop maintenance mode
      POST
    • Cancel resource pending plan
      DELETE
    • Get Deployment App Search Resource Info
      GET
    • Get eligible remote clusters
      POST
    • Create Deployment
      POST
    • List Deployments
      GET
    • Upgrade Kibana, APM, AppSearch inside Deployment
      POST
  • DeploymentsTrafficFilter
    • Delete ruleset association
    • Create ruleset association
    • Get associated deployments
    • Create a ruleset
    • List traffic filter rulesets
    • Get associated rulesets
    • Updates a ruleset
    • Delete a ruleset
    • Retrieves the ruleset by ID.
  • Extensions
    • Create an extension
    • List Extensions
    • Uploads the Extension
    • Update Extension
    • Delete Extension
    • Get Extension
  • Stack
    • Get stack versions
      GET
  • 数据模型
    • 默认分组
    • Schemas
      • AppSearchPayload
      • ElasticsearchClusterPlansInfo
      • DeploymentSearchResponse
      • TransientAppSearchPlanConfiguration
      • SnapshotStatusInfo
      • ElasticsearchConfiguration
      • DtsDimensionCosts
      • RestoreSnapshotConfiguration
      • ApmConfiguration
      • ManagedMonitoringSettings
      • ElasticsearchScriptingUserSettings
      • PlanStrategy
      • ElasticsearchClusterUser
      • ElasticsearchShardsInfo
      • ElasticsearchClusterPlanInfo
      • ElasticsearchReplicaElement
      • ApiKeysResponse
      • DeploymentCosts
      • ApmPayload
      • BasicFailedReplyElement
      • RestoreSnapshotApiConfiguration
      • TransientElasticsearchPlanConfiguration
      • ClusterPlanStepLogMessageInfo
      • DeploymentUpdateRequest
      • KibanaConfiguration
      • RestoreSnapshotRepoConfiguration
      • KeystoreSecret
      • ClusterMetadataPortInfo
      • ElasticsearchNodeType
      • DeploymentResourceUpgradeResponse
      • CrossClusterSearchInfo
      • DeploymentDiagnostics
      • ElasticsearchDependant
      • EnterpriseSearchPlanInfo
      • ApmSettings
      • DeploymentTemplateInfoV2
      • ElasticsearchMonitoringInfo
      • ElasticsearchClusterBlockingIssueElement
      • DeploymentCreateRequest
      • ItemCosts
      • KibanaClusterInfo
      • ElasticsearchScriptTypeSettings
      • AppSearchPlansInfo
      • AppSearchConfiguration
      • RollingGrowShrinkStrategyConfig
      • ClusterMetadataInfo
      • Extensions
      • RemoteClusterInfo
      • ElasticsearchClusterSecurityInfo
      • AppSearch
      • DeploymentUpdateMetadata
      • ApiKeyResponse
      • TrafficFilterRulesets
      • TargetElasticsearchCluster
      • DeploymentRestoreResponse
      • ElasticsearchClusterRole
      • BoolQuery
      • FilterAssociation
      • ExtensionFileMetadata
      • ElasticsearchClusterPlan
      • SearchRequest
      • UpdateExtensionRequest
      • ElasticsearchClusterBlockingIssues
      • Orphaned
      • DeploymentUpdateResources
      • ClusterTopologyInfo
      • DiscreteSizes
      • CrossClusterSearchSettings
      • AppSearchNodeTypes
      • ElasticsearchMasterInfo
      • DeploymentCreateSettings
      • StackVersionApmConfig
      • EnterpriseSearchConfiguration
      • AppSearchSystemSettings
      • AccountUpdateRequest
      • EnterpriseSearchSettings
      • QueryStringQuery
      • NestedQuery
      • KibanaClusterTopologyElement
      • DeploymentsSearchResponse
      • StackVersionConfigs
      • Period
      • ElasticsearchMasterElement
      • ClusterCurationSettings
      • KibanaSubClusterInfo
      • StackVersionInstanceCapacityConstraint
      • SimplifiedLineItem
      • ClusterInstanceInfo
      • KeystoreContents
      • ClusterSnapshotRetention
      • AccountTrustRelationship
      • AutodetectStrategyConfig
      • InstanceMoveRequest
      • DtsQuantity
      • ChangeSourceInfo
      • ApmSubInfo
      • KibanaResourceInfo
      • EnterpriseSearchPlan
      • ClusterSnapshotSettings
      • DeploymentsListResponse
      • ElasticsearchCuration
      • DeploymentMetrics
      • DeploymentGetResponse
      • DeploymentSettings
      • EnterpriseSearch
      • RemoteClusterRef
      • MatchNoneQuery
      • EnterpriseSearchSubInfo
      • ApmTopologyElement
      • ServiceUrl
      • Extension
      • ClusterSystemAlert
      • DeploymentUpdateSettings
      • StackVersionAppSearchConfig
      • EnterpriseSearchPlansInfo
      • ApmCrudResponse
      • Creates
      • RulesetAssociations
      • ApmPlanInfo
      • PrefixQuery
      • AppSearchTopologyElement
      • ElasticsearchResourceInfo
      • ClusterMetadataSettings
      • AllocatorMoveRequest
      • ExternalTrustRelationship
      • DeploymentObservabilitySettings
      • CostsOverview
      • StackVersionMetadata
      • RemoteResourceRef
      • TrafficFilterRulesetResponse
      • Kibana
      • ClusterCurationSpec
      • TermQuery
      • Apm
      • AppSearchSettings
      • StackVersionKibanaConfig
      • EnterpriseSearchNodeTypes
      • KibanaClusterSettings
      • ElasticsearchPlanControlConfiguration
      • StackVersionTemplateInfo
      • ElasticsearchClusterInfo
      • EnableIlmRequest
      • TransientKibanaPlanConfiguration
      • DeploymentShutdownResponse
      • IpFilteringSettings
      • AppSearchResourceInfo
      • KibanaClusterPlansInfo
      • EmptyResponse
      • KibanaDeeplink
      • EnterpriseSearchSystemSettings
      • ExistsQuery
      • TopologyElementControl
      • EnterpriseSearchInfo
      • DeploymentsCosts
      • DeploymentResource
      • ApmPlansInfo
      • ReadOnlyRequest
      • ElasticsearchUserPlugin
      • ObservabilityIssue
      • DeploymentObservability
      • DeploymentResourceCommandResponse
      • Updates
      • IndexPattern
      • GrowShrinkStrategyConfig
      • TopologySize
      • DeploymentCreateResponse
      • AppSearchPlanControlConfiguration
      • Hyperlink
      • DtsRate
      • TrafficFilterSettings
      • StackVersionNodeType
      • EnterpriseSearchPlanControlConfiguration
      • DeploymentCreateMetadata
      • AppSearchInfo
      • AppSearchPlanInfo
      • TrafficFilterRulesetInfo
      • ElasticsearchInfo
      • Balance
      • ElasticsearchClusterTrustSettings
      • DeploymentsListingData
      • ClusterPlanStepInfo
      • MatchQuery
      • CreateExtensionRequest
      • ElasticsearchPayload
      • EnterpriseSearchResourceInfo
      • DeleteApiKeysRequest
      • KibanaClusterPlanInfo
      • RemoteResourceInfo
      • ApmResourceInfo
      • KibanaPlanControlConfiguration
      • ApmPlan
      • DeploymentTemplateReference
      • ApmInfo
      • ClusterCredentials
      • KibanaPayload
      • AppSearchSubInfo
      • QueryContainer
      • AbsoluteRefId
      • InstanceConfigurationInfo
      • DeploymentUpdateResponse
      • TransientApmPlanConfiguration
      • StackVersionConfig
      • DeploymentMetadata
      • ReadOnlyResponse
      • ElasticsearchClusterTopologyElement
      • DeploymentLoggingSettings
      • ElasticsearchElasticUserPasswordResetResponse
      • RemoteResources
      • DeploymentResources
      • StackVersionTemplateFileHash
      • TransientEnterpriseSearchPlanConfiguration
      • ElasticsearchClusterSettings
      • ReplyWarning
      • KibanaClusterPlan
      • AccountResponse
      • OrphanedElasticsearch
      • EnterpriseSearchTopologyElement
      • DeploymentCreateResources
      • ElasticsearchShardElement
      • ElasticsearchSystemSettings
      • ElasticsearchUserBundle
      • BasicFailedReply
      • KibanaSystemSettings
      • DeploymentMetricsSettings
      • ApmPlanControlConfiguration
      • DeploymentResourceCrudResponse
      • Costs
      • Elasticsearch
      • AccountTrustSettings
      • ClusterInstanceDiskInfo
      • DeploymentLogging
      • RollingStrategyConfig
      • MetadataItem
      • TrafficFilterRulesetRequest
      • TrafficFilterEgressRule
      • MatchAllQuery
      • TrafficFilterRule
      • AppSearchPlan
      • RangeQuery
      • ItemsCosts
      • ClusterInstanceConfigurationInfo
      • StackVersionElasticsearchConfig
      • ApmSystemSettings
      • ClusterInstanceMemoryInfo
      • ExternalHyperlink
      • CreateApiKeyRequest
  1. Stack

Get stack versions

开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
GET
/stack/versions
By default, retrieves only the available Elastic Stack versions. To retrieve all of the Elastic Stack versions, use the show_deleted parameter.

请求参数

Query 参数

Header 参数

返回响应

🟢200The list of all available Elastic Stack versions are retrieved, including the template version and structure.
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/stack/versions' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
{
    "stacks": [
        {
            "accessible": true,
            "min_upgradable_from": "6.7.0",
            "deleted": true,
            "whitelisted": true,
            "kibana": {
                "settings": {},
                "blacklist": [
                    "string"
                ],
                "version": "string",
                "capacity_constraints": {
                    "max": 0,
                    "min": 0
                },
                "compatible_node_types": [
                    "string"
                ],
                "docker_image": "string"
            },
            "upgradable_to": [
                "string"
            ],
            "version": "string",
            "elasticsearch": {
                "settings": {},
                "node_types": [
                    {
                        "mandatory": true,
                        "name": "string",
                        "settings": {},
                        "node_type": "string",
                        "capacity_constraints": {
                            "max": 0,
                            "min": 0
                        },
                        "compatible_node_types": [
                            "string"
                        ],
                        "description": "string"
                    }
                ],
                "blacklist": [
                    "string"
                ],
                "plugins": [
                    "string"
                ],
                "capacity_constraints": {
                    "max": 0,
                    "min": 0
                },
                "compatible_node_types": [
                    "string"
                ],
                "default_plugins": [
                    "string"
                ],
                "docker_image": "string"
            },
            "template": {
                "hashes": [
                    {
                        "path": "string",
                        "hash": "string"
                    }
                ],
                "template_version": "string"
            },
            "apm": {
                "settings": {},
                "blacklist": [
                    "string"
                ],
                "version": "string",
                "capacity_constraints": {
                    "max": 0,
                    "min": 0
                },
                "compatible_node_types": [
                    "string"
                ],
                "docker_image": "string"
            },
            "appsearch": {
                "settings": {},
                "node_types": [
                    {
                        "mandatory": true,
                        "name": "string",
                        "settings": {},
                        "node_type": "string",
                        "capacity_constraints": {
                            "max": 0,
                            "min": 0
                        },
                        "compatible_node_types": [
                            "string"
                        ],
                        "description": "string"
                    }
                ],
                "blacklist": [
                    "string"
                ],
                "version": "string",
                "capacity_constraints": {
                    "max": 0,
                    "min": 0
                },
                "compatible_node_types": [
                    "string"
                ],
                "docker_image": "string"
            },
            "metadata": {
                "pre_release": true,
                "min_wire_compatibility_version": "string",
                "schema_version": 0,
                "min_index_compatibility_version": "string",
                "min_platform_version": "string",
                "notes": "string"
            }
        }
    ]
}
修改于 2021-10-07 08:42:04
上一页
Get Extension
下一页
AppSearchPayload
Built with