Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listener should return vendor. #72

Open
sethrosetter opened this issue May 3, 2016 · 2 comments
Open

Listener should return vendor. #72

sethrosetter opened this issue May 3, 2016 · 2 comments
Milestone

Comments

@sethrosetter
Copy link

sethrosetter commented May 3, 2016

Example on the Mac OSX listener,
GET http://localhost:59840/

{
"vendor": {
"name": "Couchbase Lite (Objective-C)",
"version": "1.2.1 (build 13)"
},
"couchdb": "Welcome",
"CouchbaseLite": "Welcome",
"version": "1.2.1 (build 13)"
}

Example on the Android listener,
GET http://192.168.0.18:5984/

{
"couchdb": "Welcome",
"CBLite": "Welcome",
"version": "1.2.1"
}

According to @snej, the vendor property is part of the CouchDB REST API.

Expected: vendor is returned when issuing a GET to the host:port that CBL Lite Android listener is running on.
Actual: vendor is returned when issuing a GET to the host:port that CBL Lite Android listener is running on.

Also, as an enhancement, it would be really nice if the vender could return the version AND build to provide more explicit validation and debugging when looking into issues.

@hideki
Copy link

hideki commented May 3, 2016

Hi @sethrosetter,
About version field, I think you are using 1.2.1 release version. There is no build number for release build.

@sethrosetter
Copy link
Author

@hideki Thanks

@hideki hideki added this to the 1.4 milestone Jun 23, 2016
@hideki hideki changed the title Listener should return vendor. Listener should return vendor. Jun 23, 2016
@hideki hideki added the backlog label Jun 23, 2016
@hideki hideki self-assigned this Sep 14, 2016
@hideki hideki added backlog and removed ready labels Sep 14, 2016
@djpongh djpongh removed this from the 1.5 milestone Nov 17, 2016
@djpongh djpongh added icebox and removed backlog labels Dec 15, 2016
@djpongh djpongh added this to the 1.5.0 milestone Nov 28, 2017
@hideki hideki removed their assignment May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants