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

Add POST requests for examples and fix URL-encoding content #513

Merged
merged 129 commits into from
Sep 18, 2024

Conversation

kmoscoe
Copy link
Contributor

@kmoscoe kmoscoe commented Sep 18, 2024

This PR better describes the URL-encoding issue and fixes several other things in the REST API V2 docs:

  • Syntax given for observation POST requests was wrong
  • Adds a better description of which characters need to be encoded in intro page, and removes special-case notes from examples (thanks to Keyur for this!)
  • Ensures all examples use the correct encoding consistently
  • Examples were a mix of GET and POST requests -- this PR ensures there are both for every example

It also fixes page numbering that got screwed up in a previous PR.

Staged at bullie.svl.corp.google.com:4000

kmoscoe and others added 30 commits July 11, 2024 13:23
Though the style guide says to just use imperatives, "get started" just sounds weird. Also this is more consistent with "troubleshooting"
@kmoscoe kmoscoe changed the title Api Add POST requests for examples and fix URL-encoding content Sep 18, 2024
@chejennifer
Copy link
Contributor

hey Kara, bullie.svl.corp.google.com:4000 is not working, can you restart it?

@kmoscoe
Copy link
Contributor Author

kmoscoe commented Sep 18, 2024 via email

Copy link
Contributor

@chejennifer chejennifer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, just some small things!

api/rest/v2/index.md Outdated Show resolved Hide resolved
api/rest/v2/index.md Outdated Show resolved Hide resolved
api/rest/v2/index.md Outdated Show resolved Hide resolved
api/rest/v2/index.md Outdated Show resolved Hide resolved
api/rest/v2/resolve.md Show resolved Hide resolved
@kmoscoe kmoscoe requested a review from chejennifer September 18, 2024 21:43
Copy link
Contributor

@chejennifer chejennifer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for updating!

@kmoscoe kmoscoe merged commit 32e304c into datacommonsorg:master Sep 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants