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

Document COSMOS JSON API on cosmosrb.com #341

Closed
ryanatball opened this issue Oct 6, 2016 · 6 comments
Closed

Document COSMOS JSON API on cosmosrb.com #341

ryanatball opened this issue Oct 6, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@ryanatball
Copy link
Member

@ryanatball ryanatball commented Oct 6, 2016

No description provided.

@donaldatball
Copy link
Collaborator

@donaldatball donaldatball commented May 23, 2017

@ryanatball @jmthomas I took a first cut at a page documenting the JSON API (see 9a0bc03 ), mostly borrowed from the COSMOS 1 website. I'd prefer not to re-document everything that is already documented in the scripting guide, so I tried to put a few examples and then some verbage pointing back to the scripting guide. What do you guys think? Is this good? Do I need a few more examples? Should I bite the bullet and document every function?

@ryanatball
Copy link
Member Author

@ryanatball ryanatball commented May 23, 2017

I think this looks good. Documenting every method is not necessary and I didn't need it when writing the Python version. My only comment is that the order of the fields in the two JSON RPC examples varies between the cmd example and the tlm example. Even though to the software it doesn't matter, keep the order the same in the examples to not confuse people.

@jasonatball
Copy link
Collaborator

@jasonatball jasonatball commented May 23, 2017

Looks good but please mention the Python version that we've already implemented because that's the first thing someone is going to try. (https://github.com/BallAerospace/python-ballcosmos)

@donaldatball
Copy link
Collaborator

@donaldatball donaldatball commented May 24, 2017

I implemented that changes requested by @ryanatball and @jasonatball. The page is deployed now here: http://cosmosrb.com/docs/json_api/

@jmthomas
Copy link
Member

@jmthomas jmthomas commented May 25, 2017

@donaldatball
Copy link
Collaborator

@donaldatball donaldatball commented May 25, 2017

@jmthomas Good catch, that was the start of a thought that turned into a new paragraph and never got cleaned up. I just removed that sentence fragment.

@ryanatball ryanatball modified the milestone: v4.0.0 Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.