8000 Make read-only API · Issue #27 · cstate/cstate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make read-only API #27

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

Closed
mistermantas opened this issue Sep 8, 2018 · 1 comment
Closed

Make read-only API #27

mistermantas opened this issue Sep 8, 2018 · 1 comment
Assignees
Milestone

Comments

@mistermantas
Copy link
Member
mistermantas commented Sep 8, 2018

I’ve never made an API so this is gonna be a nice challenge.

Just a nice REST JSON API. Because of the nature of Hugo and static sites, it’s not really easy to change the state of the site dynamically, but it’s possible.

Doc - https://forestry.io/blog/build-a-json-api-with-hugo/

EDIT: I’ve tried fiddling around with this and had very little luck without hacks upon hacks.

If you want to help — this is the best issue to tackle, as it’s gonna go to the backlog until it’s fixed.

e: https://discourse.gohugo.io/t/is-it-possible-to-make-a-read-only-json-api-or-something-like-it-where-you-output-all-the-things-in-the-content-folder-possibly-other-json-based-upon-the-config-file/18610

@mistermantas mistermantas added this to the v4.0 milestone Sep 8, 2018
@mistermantas mistermantas self-assigned this Sep 8, 2018
@mistermantas mistermantas modified the milestones: v4.0, Backlog Oct 18, 2018
@mistermantas mistermantas removed their assignment Oct 18, 2018
@mistermantas mistermantas modified the milestones: Backlog, v3.0, v4.0 May 9, 2019
@mistermantas mistermantas self-assigned this May 9, 2019
@mistermantas
Copy link
Member Author

Figured out how to do this finally without breaking things

Want to base this API off of:
https://doers.statuspage.io/api/v1/incidents/#unresolved

but might be worth just doing what’s consistent with the project itself

will add to v4

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

No branches or pull requests

1 participant
0