Releases: opensearch-project/opensearch-api-specification
Releases · opensearch-project/opensearch-api-specification
OpenSearch OpenAPI Spec (main)
[Unreleased]
- Added specs for Search Relevance Workbench plugin for scheduling endpoints (#967)
- Added specs for UBI plugin endpoints (#845)
Added
- Added remaining APIs for LTR including store element operations, model management, feature set operations, routing support, and POST support for update operations (#935)
- Added specs for alert and finding endpoints of security_analytics plugin (#907)
- Added
templatetoQueryContainer(#904) - Added specs for Search Relevance Workbench plugin for stats endpoints (#920)
- Added
time_in_executionandtime_in_execution_millistoPendingTask(#922) - Added
phase_results_processortoNodeInfoSearchPipelines(#922) - Added new neural search stats and response filtering parameters (
include_individual_nodes,include_all_nodes,include_info) to neural stats API (#921) - Added
target_index_settingstoIndex Rollups APIfromindex-managementplugin (#822) - Changed the type of the
DocStatusproperties from int32 to int64 (#933) - Add pull-based ingestion APIs and properties. Also add replication type in index settings (#926)
- Added
additional_configtoModelConfig(#936) - Added
all_activeconfig to the IngestionSource under index settings (#965) - Added
x-protobuf-excludedvendor extension (#980) - Added
search_pipeline,verbose_pipeline,include_named_queries_scoreandderivedto search_request_body.primarytoShardFailure,headertoErrorCauseand Replace InnerHitsfieldsfrom typeFieldstoFieldAndFormat(#981) - Add
if_seq_noandif_primary_termtoUpdateAction(#986) - Add title to
searchandbulkrequestBody and replace bulk response path from BulkResponseBase to BulkResponse (#987) - Add
filterto HybridQuery (#988) - Add
x-protobuf-typevendor extension to override type for protobuf and applyx-protobuf-excludedto global parameters (#989) - Add
x-protobuf-namevendor extension and add index parameters to search and bulk API (#993) - Added
semanticfield type (#995) - Add
x-protobuf-requiredvendor extension for enforcing required Protobuf fields (#1002) - Add
RepositoryStatsSnapshotschema toShardRepositoriesStatsin nodes.stats API (#997) - Add
x-protobuf-excludedto SearchResult::hits (#1012) - Add
x-protobuf-excludedto QueryContainer::template (#1013) - Add proto compatibility check workflow for PRs and post-deployment (#1020)
- Split proto check and comment into separate workflows and addressing "Not Found" errors for posting proto compatibility reports.(#1023),(#1026),(#1028)
- Add new 3.3 ML APIs (#1010)
- Add new ML stream APIs (#1031)
- Add msearch
allow_partial_resultsflag (#1061)
Removed
- Remove unused cardinality aggregation execution hints - save_memory_heuristic/save_time_heuristic/segment_ordinals (#970)
- Remove unsupported
PinnedQueryand mark x-version-deprecated to fieldcutoff_frequencyinMultiMatchQuery(#1000) - Remove
forcefromVersionType(#1017) - Remove
fieldsfromSearchResult(#1018)
Fixed
- Fixed the default parameters for
data_stream/_statsandshard_stores/status(#931) - Fixed the type of
SearchStats'sconcurrent_avg_slice_countto be a double (#942) - Fixed name and metadata missing from metric aggregations (#969)
- Fixed the type of
paramin pull-based ingestion'singestion_sourceto take in Object for value instead of string (#945) - Fixed fields in
TermsAggregation,CardinalityExecutionMode(#982) - Fixed
TermsQuery_nameandboosttype (#984) - Fixed SearchResult::hits specification (#1011)
- Fixed the type of
Hit'smatched_queriesto be either an array or a map to support wheninclude_named_queries_scoreistrue(#1015) - Fixed aggregation schema strict mode compliance: restructured
MetricAggregationBaseandTermsAggregationby movingfieldandscriptinto optionalanyOfbranches; addedvalue_typetoMinAggregationandMaxAggregation; updatedValueTypeenum (addedbyte,float,integer,range,short,unsigned_long; removeddate_nanos); changedmin_doc_countandshard_min_doc_countinTermsAggregationfrom int32 to int64 (#1056) - Fixed
TermsAggregationvalue_type type fromstringtoValueType, enforce enum (#1057) - Exclude FilterContainer and order in TermsAggregation in spec (#1059)
- Fix
AggregationContainerto inheritAggregationtype, and remove unnamed fieldnamefromAggregation. Removegeo_pointandrangefromValueType. Excludeaggsalias from protobufs. (#1060) - Fixed Terms aggregation response schemas: corrected field name
doc_count_errortodoc_count_error_upper_bound, simplified buckets to array-only, added nested aggregations support, and added missingUnsignedLongTermsAggregate(#1063) - Fixed partition field formats in
TermsPartitionfrom int64 to int32 and removedx-protobuf-excludedfrom order field in aggregations schema (#1065) - Fix
AggregationContainerfor all bucket aggregations so thataggs/aggregationsare siblings of the aggregation type(#1069)
Changed
- Changed schema of
NodeInfoSearchPipelines'sresponse_processors&request_processorsto useNodeInfoSearchPipelineProcessorinstead ofNodeInfoIngestProcessor(#922) - Changed knn stats response types to use int64s instead of numbers (#942)
- Moved sub aggregations into
BucketAggregationBaseas their usage is only valid here (#971) - Remove deprecated
rehashoption fromCardinalityAggregation(#975) - Changed type mappings for Protob...
v0.2.0
Added
- Added specs for LTR plugin for store endpoints (#861)
- Added defaults for Snapshot APIs (#830)
- Added defaults for Snapshot API request body fields (#846)
- Added specs for LTR plugin for stats endpoints (#786)
- Added defaults for Cluster APIs (#824)
- Added
aggsalias for nested aggregations (#818) - 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
_searchwithsort: 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
PhoneAnalyzerfromanalysis-phonenumberplugin (#609) - Added
/_list/indices&/_list/shardsapi specs (#613) - Added
GETandHEAD /{index}/_source/{id}returning404(#673) - Added
rename_alias_patternandrename_alias_replacementto/_snapshot/{repository}/{snapshot}/_restorebody parameters (#615) - Added
resource_statstoTaskInfoBase(#692) - Added
sto/_ingest/processor/grok(#689) - Added schema for security API error responses (#646)
- Added
aggregationsto/nodes/_usage/{metric}requests and responses (#615) - Added missing
statusto/_search/templateresponse (#702) - Added
_typetorank_evalAPI specs (#704) - Added NodeAttributes as additional property in
shard_storesAPI specs (#715) - Added missing
repositoryquery parameter to/_cat/snapshots(#700) - Added
smnamespace API specifications (#701) - Added schema for
/_plugins/_knn/stats,/_plugins/_knn/models/{model_id},_trainand_search(#704) - Added
retrysupport inprologuesandepilogues(#713) - Added response schema for
DELETE /_plugins/_rollup/jobs/{id},POST /_plugins/_rollup/jobs/{id}/_startand_stop(#716) - Added response schema for
PUTandDELETE /_plugins/_transform/{id}(#722) - Added response schema for
GET /_plugins/_knn/warmup/{index}(#717) - Added support for multiple test verbs (#724)
- Added support for using a certificate and key in tests (#731)
- Added
_typetotermvectorandmtermvector(#734) - Added missing
cancelledandresource_statsto/_reindex/{task_id}/_rethrottle(#740) - Added missing
cancellation_time_millistoPOST /_tasks/_cancel(#747) - Added support for combining output variables (#737)
- Added 404 response to
/_search/scroll(#749) - Added
node_failurestoDELETE /_search/scrollandDELETE /_search/scroll/{scroll_id}(#749) - Added
POST /_plugins/_ml/_train/{algorithm_name},_predict/{algorithm_name}/{model_id}, and_train_predict/{algorithm_name}(#755) - Added
PUT /_plugins/_ml/model_groups/{model_group_id},GET /_plugins/_ml/model_groups/_search, andPOST /_plugins/_ml/model_groups/_search(#760) - Added
GET /_plugins/_ml/connectors/{connector_id},_search,POST /_plugins/_ml/connectors/_search, andPUT /_plugins/_ml/connectors/{connector_id}(#764) - Added the ability to skip an individual chapter test (#765)
- Added uploading of test spec logs (#767)
- Added
aggsproperty as an alias toaggregationsin requestBody ofsearch#774 - Added
POST /_plugins/_ml/memory,POST /_plugins/_ml/memory/_search,{memory_id}/_search,{memory_id}/messages,PUT /_plugins/_ml/memory/{memory_id},message/{message_id},GET /_plugins/_ml/memory,GET /_plugins/_ml/memory/{memory_id},_search,message/{message_id},{memory_id}/messages,{memory_id}/_search,message/{message_id}/traces, andDELETE /_plugins/_ml/memory/{memory_id}(#771) - Added support for evaluating response payloads in prologues and epilogues (#772)
- Added
GET /_plugins/_ml/models/{model_id},POST /_plugins/_ml/models/_search,POST /_plugins/_ml/models/_unload,_undeploy,_upload,meta,_register_meta,POST /_plugins/_ml/models/{model_id}/_load,_predict,_unload,chunk/{chunk_number},upload_chunk/{chunk_number}, andPUT /_plugins/_ml/models/{model_id}(#733) - Added
GET,POST,PUT,DELETE /_plugins/_ml/controllers/{model_id}(#779) - Added
GET /_plugins/_ml/profile,GET /_plugins/_ml/profile/models,models/{model_id},tasks,tasks/{task_id}(#787) - Added
GET /_plugins/_ml/stats/,stats/{stat},{nodeId}/stats/,{nodeId}/stats/{stat}(#794) - Added
GET,POST /_plugins/_ml/tasks/_search,GET /_plugins/_ml/tools,tools/{tool_name}(#797) - Added
POST /_plugins/_ml/agents/{agent_id}/_execute,GET /_plugins/_ml/agents/{agent_id},GET,POST /_plugins/_ml/agents/_search(#798) - Added a warning for test file names that don't match the API being tested (#793)
- Added
timefield to theGetStatsschema in_common.yml(#803) - Added version for
POST /_plugins/_ml/_train/{algorithm_name},_predict/{algorithm_name}/{model_id}, and_train_predict/{algorithm_name}(#763) - Added
POST _plugins/_security/api/internalusers/{username}response201(#810) - Added
POST /_plugins/_ml/_execute/{algorithm_name}(#811) - Added search suggester types ([#817](https://github.com/opensearch-...
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:unitandtest: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
distributionfield toOpenSearchVersionInfo(#336) - Added
created_timeandlast_updated_timetoml.get_model_group@200(#342) - Added spellcheck linter (#341)
- Added tests for response payload (#347)
- Added
cancel_after_time_intervalandphase_tookin_search(#353) - Added support for testing
application/x-ndjsonpayloads (#355) - Added TESTING_GUIDE.md (#359)
- Added StoryValidator to validate stories before running them (#354)
- Added support for
text/plainresponses in_catAPIs (#360) - Added support for
application/yamlresponses (#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/cborresponses (#371) - Added
/_plugins/_sql,close,explainandstats(#379) - Added support for
application/smileresponses (#386) - Added
doc_status,remote_store,segment_replicationandunreferenced_file_cleanups_performedtoSegmentStats(#395) - Added
concurrent_query_*andsearch_idle_reactivate_count_totalfields toSearchStats(#395) - Added
remote_storetoTranslogStats(#395) - Added
fileto/_cache/clearand/{index}/_cache/clear(#396) - Added
strict_allow_templatesoption 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_timeouttoHEAD /{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_hiddento/{index}/_alias/{name}and/{index}/_aliases/{name}(#429) - Added
ignore_unmappedtoGeoDistanceQuery(#427) - Added missing variants of
indices.put_alias(#434) - Added
pluginsto NodeInfoSettings (#442) - Added test coverage (#443)
- Added
--opensearch-versiontomergerthat excludes schema elements per semver (#428) - Added
retrytotesterto 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,explainandstats(#460) - Added tests against OpenSearch 3.0 (#459)
- Added support for request headers in tests #461
- Added metadata additionalProperties to
ErrorCause(#462) - Added
creation_datefield toDanglingIndex(#462) - Added doc on
cluster create-index blockedworkaround (#465) - Added
observabilitynamespace 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,_undeployandknn_vectortype inpassage_embedding(#504) - Added
PersonalizeSearchRanking,RetrievalAugmentedGeneration,Rerank,Collapse,TruncateHits,SortResponseProcessorandSplitResponseProcessor(#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_sizeandio_time_in_millistoIoStatDevice(#483) - Added
total_rejections_breakuptoShardIndexingPressureStats([#483](https://github.com/o...