Releases: opensearch-project/opensearch-api-specification
Releases · opensearch-project/opensearch-api-specification
OpenSearch OpenAPI Spec (main)
[Unreleased]
Added
- Added API specs for query groups lifecycle APIs (#649)
- Added Python and Ruby spec validators (#646)
- Added verbose output of the story being evaluated (#646)
- Added
_search
withsort: direction
(#658) - Added
_common.mapping:FlatObjectProperty
(#661) - Added
HEAD /{index}/_doc/{id}
returning404
(#670) - Added
_common.mapping:IcuCollationKeywordProperty
(#666) - Added
/_cluster/stats/{metric}/nodes/{node_id}
and/_cluster/stats/{metric}/{index_metric}/nodes/{node_id}
(#639) - Added
PhoneAnalyzer
fromanalysis-phonenumber
plugin (#609) - Added
/_list/indices
&/_list/shards
api specs (#613) - Added
GET
andHEAD /{index}/_source/{id}
returning404
(#673) - Added
rename_alias_pattern
andrename_alias_replacement
to/_snapshot/{repository}/{snapshot}/_restore
body parameters (#615) - Added
resource_stats
toTaskInfoBase
(#692) - Added
s
to/_ingest/processor/grok
(#689) - Added schema for security API error responses (#646)
- Added
aggregations
to/nodes/_usage/{metric}
requests and responses (#615) - Added missing
status
to/_search/template
response (#702) - Added
_type
torank_eval
API specs (#704)
Removed
- Removed unsupported
_common.mapping:SourceField
'smode
field and associated_common.mapping:SourceFieldMode
enum (#652) - Removed unsupported
_common.mapping:DenseVectorProperty
,_common.mapping:SparseVectorProperty
, and_common.mapping:FlattenedProperty
(#666) - Removed unsupported time series dimension properties and types (#666)
- Removed unsupported
script
andon_script_error
fromNumberPropertyBase
(#666) - Removed unsupported
required
fromppl
responses (#646) - Removed invalid
externalDocs
fromflow_framework.create/update::query.use_case
(#646) - Removed unsupported
cause
andcreate
from/_index_template/_simulate_index/{name}
(#691) - Removed
mappings
fromrequired
inindices.simulate_template#Template
(#691)
Fixed
- Spec passes OpenAPI 3.1.0 validations (#646)
- Disallowed characters (
::
,@
, and:
) in key names are replaced with___
on merge (#646) - Added missing
required
topath
parameters (#646) - Added missing
schema
parent to response types (#646) - Fixed incorrect
style
inindices.get_mapping::query.index
(#646) - Fixed
/{index}/_create/{id}
returning201
(#669) - Fixed
ml._common.yaml#SearchModelsResponse
andSearchModelsHitsHit
(#672) - Fixed
refresh
options to allowboolean
andstring
(#673) - Fixed
value
type inExplanationDetail
and added_type
toexplain@200
(#685) - Fixed index settings types (#684)
- Fixed
POST
andDELETE /_dangling/{index_uuid}
returning202
(#686) - Fixed response schema for
/_nodes/reload_secure_settings
and/_nodes/{node_id}/reload_secure_settings
(#694) - Fixed
/_ingest/pipeline/{id}/_simulate
responsedocs/_source
field schema (#689) - Fixed
/_scripts/painless/_execute
request and response schema (#699) - Fixed
fields
inHit
allowing primitive arrays (#699) - Added missing
repository
query parameter to/_cat/snapshots
(#700) - Fixed
hits
inrank_eval
allowing numbers (#704)
Changed
- Changed
tasks._common:TaskInfo
andtasks._common:TaskGroup
to be composed of atasks._common:TaskInfoBase
(#683)
Links
v0.1.0
Added
- Added CHANGELOG (#309)
- Added a spec test framework (#299)
- Added tests for the framework (#310)
- Added workflow to determine API changes (#297)
- Added link checking (#269)
- Added API coverage (#210)
- Added license headers to TypeScript code (#311)
- Added
npm run test:spec -- --dry-run --verbose
(#303) - Added
npm run test:unit
andtest:integ
(#320) - Added code coverage to tools' tests (#323)
- Added a YAML linter (#312)
- Added linter to validate order of spec operations (#325) (#326)
- Added support to read outputs from requests in tests(#324)
- Added
eslint-plugin-eslint-comments
(#333) - Added
distribution
field toOpenSearchVersionInfo
(#336) - Added
created_time
andlast_updated_time
toml.get_model_group@200
(#342) - Added spellcheck linter (#341)
- Added tests for response payload (#347)
- Added
cancel_after_time_interval
andphase_took
in_search
(#353) - Added support for testing
application/x-ndjson
payloads (#355) - Added TESTING_GUIDE.md (#359)
- Added StoryValidator to validate stories before running them (#354)
- Added support for
text/plain
responses in_cat
APIs (#360) - Added support for
application/yaml
responses (#363) - Added test for search with seq_no_primary_term (#367)
- Added a linter for parameter sorting (#369)
- Added AjvErrorsParser to print more informative error messages (#364)
- Added JsonSchemaValidator, a wrapper for AJV (#364)
- Added support for
application/cbor
responses (#371) - Added
/_plugins/_sql
,close
,explain
andstats
(#379) - Added support for
application/smile
responses (#386) - Added
doc_status
,remote_store
,segment_replication
andunreferenced_file_cleanups_performed
toSegmentStats
(#395) - Added
concurrent_query_*
andsearch_idle_reactivate_count_total
fields toSearchStats
(#395) - Added
remote_store
toTranslogStats
(#395) - Added
file
to/_cache/clear
and/{index}/_cache/clear
(#396) - Added
strict_allow_templates
option for the dynamic mapping parameter (#408) - Added a workflow to run tests against the next version of OpenSearch (#409)
- Added support for skipping tests using semver range (#410)
- Added
cluster_manager_timeout
toHEAD /{index}
(#421) - Added missing fields to
/_nodes/stats
(#415) - Added missing metrics options to
/_nodes/stats
(#422) - Added tests against OpenSearch 1.3 (#424)
- Added
is_hidden
to/{index}/_alias/{name}
and/{index}/_aliases/{name}
(#429) - Added
ignore_unmapped
toGeoDistanceQuery
(#427) - Added missing variants of
indices.put_alias
(#434) - Added
plugins
to NodeInfoSettings (#442) - Added test coverage (#443)
- Added
--opensearch-version
tomerger
that excludes schema elements per semver (#428) - Added
retry
totester
to support asynchronous tasks (#453) - Added passing OPENSEARCH_JAVA_OPTS into the docker container used for tests (#454)
- Added a warning on mulitple paths being tested in the same file (#452)
- Added validation of titles and descriptions in info and schema objects (#463)
- Added
/_plugins/_query/settings
(#456) - Added
/_plugins/_ppl
,explain
andstats
(#460) - Added tests against OpenSearch 3.0 (#459)
- Added support for request headers in tests #461
- Added metadata additionalProperties to
ErrorCause
(#462) - Added
creation_date
field toDanglingIndex
(#462) - Added doc on
cluster create-index blocked
workaround (#465) - Added
observability
namespace API specifications (#474) - Added support for reusing output variables as keys in payload expectations (#471)
- Added support for running tests against Amazon OpenSearch (#476)
- Added API spec for security plugin (#271)
- Added
/_plugins/_security/api/certificates/
(#439) - Added
/_plugins/_ml/models/{model_id}/_deploy
,_undeploy
andknn_vector
type inpassage_embedding
(#504) - Added
PersonalizeSearchRanking
,RetrievalAugmentedGeneration
,Rerank
,Collapse
,TruncateHits
,SortResponseProcessor
andSplitResponseProcessor
(#505) - Added
/_plugins/_security/api/certificates/
to API spec (#439) - Added support for annotating and testing the API spec against multiple OpenSearch distributions (#483)
- Added
read_time
,write_time
,queue_size
andio_time_in_millis
toIoStatDevice
(#483) - Added
total_rejections_breakup
toShardIndexingPressureStats
([#483](https://github.com/o...