|
@@ -1,15 +1,15 @@
|
|
|
# Elasticsearch REST API JSON specification
|
|
|
|
|
|
-This repository contains a collection of JSON files which describe the [Elasticsearch](http://elasticsearch.org) HTTP API.
|
|
|
+This repository contains a collection of JSON files which describe the [Elasticsearch](http://elastic.co) HTTP API.
|
|
|
|
|
|
Their purpose is to formalize and standardize the API, to facilitate development of libraries and integrations.
|
|
|
|
|
|
-Example for the ["Create Index"](http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index/) API:
|
|
|
+Example for the ["Create Index"](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html) API:
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"indices.create": {
|
|
|
- "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index/",
|
|
|
+ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html",
|
|
|
"methods": ["PUT", "POST"],
|
|
|
"url": {
|
|
|
"path": "/{index}",
|
|
@@ -38,7 +38,7 @@ Example for the ["Create Index"](http://www.elasticsearch.org/guide/reference/ap
|
|
|
The specification contains:
|
|
|
|
|
|
* The _name_ of the API (`indices.create`), which usually corresponds to the client calls
|
|
|
-* Link to the documentation at <http://elasticsearch.org>
|
|
|
+* Link to the documentation at <http://elastic.co>
|
|
|
* List of HTTP methods for the endpoint
|
|
|
* URL specification: path, parts, parameters
|
|
|
* Whether body is allowed for the endpoint or not and its description
|