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

Add /api/v0/status route #89

Merged
merged 1 commit into from Sep 18, 2017
Merged

Add /api/v0/status route #89

merged 1 commit into from Sep 18, 2017

Conversation

bcl
Copy link
Collaborator

@bcl bcl commented Sep 11, 2017

This will return a JSON response:

{"build":"0.5.0","api":0,"db_version":1,"schema_version":0,"db_supported":false}

The db_version is the highest db schema version supported. The
schema_version is the version of the current metadata.db database.
db_supported is set to true if the metadata.db schema is supported by
the API.

This will return a JSON response:

{"build":"0.5.0","api":0,"db_version":1,"schema_version":0,"db_supported":false}

The db_version is the highest db schema version supported. The
schema_version is the version of the current metadata.db database.
db_supported is set to true if the metadata.db schema is supported by
the API.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.858% when pulling de7c632 on bcl:master-db-status into 6bf5ab3 on weldr:master.

@bcl bcl merged commit de7c632 into weldr:master Sep 18, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants