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

C API wrapper for the Skycoin node API #3

Closed
10 tasks
olemis opened this issue Jan 14, 2019 · 1 comment
Closed
10 tasks

C API wrapper for the Skycoin node API #3

olemis opened this issue Jan 14, 2019 · 1 comment
Assignees
Labels
openapi Related to REST and OpenAPI specs stdev wip Work in progress
Milestone

Comments

@olemis
Copy link
Contributor

olemis commented Jan 14, 2019

Expected Behavior

Access to the Skycoin node REST API implemented in C code .

Actual Behavior

Right now this is only possible using code generated by SWIG , which requires memory handles

Specifications

  • Version: 0.25.0
  • Platform: all
  • Subsystem: all exported API sets

Possible Solution

Generate it from Swagger specs . Beware of CSRF .

  • Use Skycoin node Swagger spec to generate initial C REST API client
  • Add make target to automate generation in ./build
  • Aforementioned target should copy / merge relevant files into source code tree
  • README explaining the process
  • Mention in CHANGELOG
  • Patch the result Swagger-gen REST client to support specifying node address
  • Update package metadata
  • Run basic Swagger tests in Travis
  • Unify test code in case multiple test suites are used after generation
  • Beware of CSRF auth
@olemis olemis added stdev wip Work in progress openapi Related to REST and OpenAPI specs labels Jan 14, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Jan 16, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Jan 26, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 9, 2019
@olemis olemis added this to the 0.25.1 milestone Feb 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 11, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 12, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue Feb 13, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 14, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 16, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue Feb 17, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue Feb 17, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue Feb 17, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 19, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 19, 2019
…ecifying node address, for json and yaml
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 19, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 19, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 20, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue Feb 20, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue May 6, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 6, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 6, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 7, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 7, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 7, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue May 8, 2019
olemis added a commit to simelo/libskycoin.orig that referenced this issue May 8, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 10, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 11, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 11, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 11, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 11, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
stdevMac added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
olemis added a commit that referenced this issue May 15, 2019
…oin_Api

fixes #3 fixes #40 - v0.25.1 C wrapper skycoin api based on libcurl
@olemis
Copy link
Contributor Author

olemis commented May 15, 2019

fixed in 57fa05b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openapi Related to REST and OpenAPI specs stdev wip Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants