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

Version Check #212

Open
ingalls opened this issue Dec 19, 2019 · 0 comments
Open

Version Check #212

ingalls opened this issue Dec 19, 2019 · 0 comments

Comments

@ingalls
Copy link
Contributor

ingalls commented Dec 19, 2019

Context

Add an endpoint that would perform feature id => version checks to see if a feature has been modified since the feature was originally downloaded.

This API would be immediately useful for the HecateJS import API, mostly closing the door on one of the remaining reasons as to why an import could fail halfway.

Endpoint

POST: URL TBD

Payload Body

{
    "feature id": "feature version",
   ...
}

Expected response

Sucess

status: HTTP 200 SUCCESS
body: empty

Failure

status: HTTP 409 CONFLICT
body:

[
    "feature id with version mismatch",
    ...
]

cc/ @ingalls

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

1 participant