-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unable extract partial response in sample client code unlike API Explorer #1494
Labels
type: question
Request for information or clarification. Not an issue.
Comments
bhsiaoNFLX
changed the title
Unable to pass in fields to extract partial response like API Explorer
Unable extract partial response in sample client code unlike API Explorer
Sep 25, 2019
@bhsiaoNFLX 👋 Thanks for raising the issue. @happyhuman could you have a look at this |
JustinBeckwith
added
triage me
I really want to be triaged.
🚨
This issue needs some love.
type: question
Request for information or clarification. Not an issue.
and removed
triage me
I really want to be triaged.
🚨
This issue needs some love.
labels
Oct 3, 2019
Closing this due to inactivity. |
This was referenced Jun 19, 2022
This was referenced Jun 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The API Explorer lets you specify the
fields
request parameter (under "Show standard parameters") to specify which fields to include in the partial response. In particular, I am interested in getting back thespellCorrection
partial response using the sample code provided. My question applies to the broader issue that the sample client code doesn't seem to support extracting partial responses like the API explorer does, but I will usespellingCorrection
for the following examples:All the above the variations I've tried but they don't seem to work.
Looking at the implementation of
searchJobs
withinjob_service_client.js
it is unclear how I can pass inspellingCorrection
as a parameter.Alternatively, is there an easy way I can modify
job_service_client.js
to return thespellingCorrection
partial response, or am I out of luck?Note: I am getting a proper response back with the matching jobs in the form of an array:
versus in the API Explorer I get a json:
The text was updated successfully, but these errors were encountered: