Skip to content

Listener should return vendor. #72

Open
@sethrosetter

Description

@sethrosetter

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions