-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.json
62 lines (62 loc) · 1.63 KB
/
api.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"body": {
"_index": "photos",
"_type": "_doc",
"_id": "EjbteXABaFtM5lbdZHny",
"_version": 1,
"result": "created",
"_shards": {
"total": 2,
"successful": 1,
"failed": 0
},
"_seq_no": 100000001,
"_primary_term": 1
},
"statusCode": 201,
"headers": {
"location": "/photos/_doc/EjbteXABaFtM5lbdZHny",
"content-type": "application/json; charset=UTF-8",
"content-length": "181"
},
"warnings": null,
"meta": {
"context": null,
"request": {
"params": {
"method": "POST",
"path": "/photos/_doc",
"body": "{\"url_path\":\"CDG/832a0fe236441.jpg\",\"caption\":\"Postman again\",\"listing_id\":\"12345678\"}",
"querystring": "",
"headers": {
"User-Agent": "elasticsearch-js/7.6.0 (darwin 19.3.0-x64; Node.js v12.14.1)",
"Content-Type": "application/json",
"Content-Length": "86"
},
"timeout": 30000
},
"options": {
"warnings": null
},
"id": 4
},
"name": "elasticsearch-js",
"connection": {
"url": "http://localhost:9200/",
"id": "http://localhost:9200/",
"headers": {},
"deadCount": 0,
"resurrectTimeout": 0,
"_openRequests": 0,
"status": "alive",
"roles": {
"master": true,
"data": true,
"ingest": true,
"ml": false
}
},
"attempts": 0,
"aborted": false
}
}