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

server does not publish uuid to 'self' property #111

Closed
ph1l opened this issue Oct 26, 2016 · 4 comments
Closed

server does not publish uuid to 'self' property #111

ph1l opened this issue Oct 26, 2016 · 4 comments

Comments

@ph1l
Copy link
Contributor

ph1l commented Oct 26, 2016

as specified here: https://github.com/SignalK/specification/blob/master/schemas/signalk.json#L12, a signalk server shoud publish the self propery containing the uuid of the vessel on which the server is running.

@tkurki
Copy link
Member

tkurki commented Oct 31, 2016

It is actually not required by the schema, but I agree it would be good idea to implement that and make it required in the schema.

https://github.com/SignalK/specification/blob/master/schemas/signalk.json#L7-L12

@sumps
Copy link
Contributor

sumps commented Oct 31, 2016

So the restAPI URL would be....

http://hostname/signalk/v1/api/self

Which should be responded to with...

// 20161031140214
// http://192.168.0.80/signalk/v1/api/self

{
"urn:mrn:imo:mmsi:234567890"
}

@tkurki
Copy link
Member

tkurki commented Oct 31, 2016

No, the response is "urn:mrn:imo:mmsi:234567890".

{
"urn:mrn:imo:mmsi:234567890"
}'

is not valid JSON.

@tkurki
Copy link
Member

tkurki commented Oct 31, 2016

Fixed by 3a437ed and SignalK/specification@a97d19e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants