Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Add runtime check for Ghost version #82

Open
vickychijwani opened this issue Jun 30, 2015 · 1 comment
Open

Add runtime check for Ghost version #82

vickychijwani opened this issue Jun 30, 2015 · 1 comment
Labels

Comments

@vickychijwani
Copy link
Owner

Quill will not work against all Ghost versions because the Ghost API is not stable and public yet. So we must add a runtime check that tests what version the user is running and inform them in case we don't support it / haven't tested against it. It might even make sense to refuse to proceed if the version is unsupported, to avoid messing with the user's data.

@vickychijwani vickychijwani added this to the 1.0 milestone Jun 30, 2015
@vickychijwani vickychijwani removed this from the 1.0 milestone May 1, 2016
@vickychijwani
Copy link
Owner Author

Useful API endpoints:

In 0.6.3:

GET /ghost/api/v0.1/configuration/ HTTP/1.1

HTTP/1.1 200 OK
{
    "configuration": [{
        "key": "version", 
        "value": "0.6.3"
    }]
}

In 0.7.9:

GET /ghost/api/v0.1/configuration/about/ HTTP/1.1

HTTP/1.1 200 OK
{
    "configuration": [{
        "database": "sqlite3", 
        "environment": "development", 
        "mail": "", 
        "version": "0.7.9"
    }]
}

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

No branches or pull requests

1 participant