inside-api-go

command module
v0.0.0-...-bb2ee5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 8 Imported by: 0

README

inside-api

API to ensure app has latest version of data

Plan

There will one endpoint to get data. App will pass in a date parameter. If that date is earlier than current data date, redirects to dropbox json file.

If it's after, returns NOCONTENT

Another endpoint will allow to update current data date. It will take a singular query paramter with the current data date.

Actually, I might just put both at one endpoint

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL