OpenSearch/rest-api-spec/api/index.json

46 lines
819 B
JSON

{
"index": {
"documentation": "http://elasticsearch.org/guide/reference/api/index_/",
"methods": ["POST", "PUT"],
"url": {
"path": "/{index}/{type}",
"paths": ["/{index}/{type}", "/{index}/{type}/{id}", "/{index}/{type}/{id}/_create"],
"parts": {
"id": {
},
"index": {
},
"type": {
}
},
"params": {
"consistency": {
},
"id": {
},
"op_type": {
},
"parent": {
},
"percolate": {
},
"refresh": {
},
"replication": {
},
"routing": {
},
"timeout": {
},
"timestamp": {
},
"ttl": {
},
"version_type": {
}
}
},
"body": null
}
}