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

link to rpc node docs from stacks api page #780

Closed
ryanwaits opened this issue Oct 1, 2024 · 5 comments
Closed

link to rpc node docs from stacks api page #780

ryanwaits opened this issue Oct 1, 2024 · 5 comments
Assignees

Comments

@ryanwaits
Copy link
Collaborator

I think it would be helpful to link to documentation for the node's API endpoints (the /v2/ endpoints) from our API documentation. Users won't know (or care) that they are separate, since our API nodes will forward these /v2/ endpoints. This results in difficult discovery for those.

cc @obycode

@ryanwaits ryanwaits added this to Devrel Jun 13, 2024
@ryanwaits ryanwaits self-assigned this Oct 1, 2024
@ryanwaits ryanwaits converted this from a draft issue Oct 1, 2024
@ryanwaits ryanwaits mentioned this issue Oct 1, 2024
5 tasks
@zone117x
Copy link
Member

zone117x commented Oct 1, 2024

Users won't know (or care) that they are separate

I think trying to present the RPC and API docs/endpoints as the same service has caused a lot of problems, and we should separate how they are presented. They are separate services with differing usage, rate limits, performance, etc.

Similar to how we present some of these other services as separate, there should be something like a Stacks core RPC:

image

@ryanwaits
Copy link
Collaborator Author

I think trying to present the RPC and API docs/endpoints as the same service has caused a lot of problems, and we should separate how they are presented.

@zone117x i agree with separating these. what do you suggest as the best practice for maintaining this section if we aren't providing any v2 endpoints in the OpenAPI schema?

In the meantime I guess we could have a callout on the Stacks API overview that links out to the Stacks Docs (https://docs.stacks.co/reference/api) for anyone looking for these endpoints

@zone117x
Copy link
Member

zone117x commented Oct 1, 2024

what do you suggest as the best practice for maintaining this section if we aren't providing any v2 endpoints in the OpenAPI schema?

We could use the openapi schema maintained by the core repo: https://github.com/stacks-network/stacks-core/blob/master/docs/rpc/openapi.yaml

In the meantime I guess we could have a callout on the Stacks API overview that links out to the Stacks Docs (https://docs.stacks.co/reference/api) for anyone looking for these endpoints

This seems like a good options as well

@ryanwaits
Copy link
Collaborator Author

great! ill merge these changes in with the short-term solution and add a new issue for adding the RPC section later

@ryanwaits
Copy link
Collaborator Author

fixed: #761

@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in Devrel Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Status: No status
Development

No branches or pull requests

2 participants