Hi Sairam,
Yes, all drivers use the REST interface.
You can easily use i.e. wireshark or ngrep to listen to arangosh talking to
arangod:
ngrep -Wbyline port 8529 -d lo
interface: lo (127.0.0.0/255.0.0.0)
filter: (ip or ip6) and ( port 8529 )
####
T 127.0.0.1:52843 -> 127.0.0.1:8529 [AP]
GET /_db/_system/_api/version?details=true HTTP/1.1.
Host: 127.0.0.1.
Connection: Keep-Alive.
User-Agent: ArangoDB.
Accept-Encoding: deflate.
Authorization: Basic cm9vdDo=.
.
##
T 127.0.0.1:8529 -> 127.0.0.1:52843 [AP]
HTTP/1.1 200 OK.
Server: ArangoDB.
Connection: Keep-Alive.
Content-Type: application/json; charset=utf-8.
Content-Length: 638.
.
{"server":"arango","version":"3.0.x-devel","details":{"architecture":"64bit","asan":"false","asm-crc32":"true","boost-version":"1.61.0b1","build-date":"2016-06-15
10:17:47","compiler":"gcc","cplusplus":"201103","endianness":"little","fd-client-event-handler":"poll","fd-setsize":"1024","icu-version":"54.1","jemalloc":"true","libev-version":"4.22","maintainer-mode":"false","openssl-version":"OpenSSL
1.0.2 22 Jan
2015","rocksdb-version":"4.8.0","server-version":"3.0.x-devel","sizeof
int":"4","sizeof
void*":"8","sse42":"true","tcmalloc":"false","v8-version":"5.0.71.39","vpack-version":"0.1.30","zlib-version":"1.2.8","mode":"console"}}
during the 3.x release cycle we plan to also be able to send velocypack
which will be a bit less chatty then json. Support in arangosh and the
drivers will arive in the next months.
Hope this helps?
Cheers,
Willi
On Wednesday, June 8, 2016 at 3:51:39 PM UTC+2, Sairam Gaddam wrote:
>
> Hello everyone,
> I know that all the drivers written for
> Arangodb(java, python etc) will call REST APIs internally(in the backend).
> I am curious to know whether AQL and arangosh will also call REST APIs or
> any other mechanism!!!
>
> Any answer would be appreciated.
> Thanks.
>
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.