Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0.2, 6.5.1
-
DOC-2020-S11-Jun14
-
1
Description
The example
$ curl -u Administrator:password -d 'SELECT "Hello, beer!" AS greeting' http://localhost:8095/analytics/service
|
on
https://docs.couchbase.com/server/6.0/analytics/run-query.html
and
https://docs.couchbase.com/server/6.5/analytics/run-query.html
is not supported by the Analytics REST API as the statement parameter is not provided.
It needs to be replaced with
$ curl -u Administrator:password -d 'statement=SELECT "Hello, beer!" AS greeting' http://localhost:8095/analytics/service
|
Attachments
For Gerrit Dashboard: DOC-6910 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
130270,2 | DOC-6910: Non-working example of API use | alice | cbas-core | Status: MERGED | +2 | +1 |
131462,2 | DOC-6910: Non-working example of API use | 6.5.x-docs | cbas-core | Status: MERGED | +2 | +1 |