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

Harvest API "Custom Fields" docs missing "Headers" section for some "Custom Fields Options" endpoints #536

Open
jehrenzweig-pi opened this issue Jan 11, 2024 · 0 comments

Comments

@jehrenzweig-pi
Copy link

jehrenzweig-pi commented Jan 11, 2024

Documentation for endpoints in the "Custom Fields" page's "The custom field options object" section contain example requests that describe the need for an HTTP On-Behalf-Of header, when submitting an HTTP request. For example:

curl 'https://harvest.greenhouse.io/v1/custom_field/{id}/custom_field_options'
-H "On-Behalf-Of: {greenhouse user ID}"
-H "Authorization: Basic MGQwMzFkODIyN2VhZmE2MWRjMzc1YTZjMmUwNjdlMjQ6"

Several endpoints already include a "Headers" section, which provides a description of the On-Behalf-Of header like so:
image

However, other endpoints in that same section do NOT contain a "Headers" section:
image

The list of endpoints in the "The custom field options object" section that are missing a "Headers" section:

FWIW I didn't do an exhaustive audit of the other sections on the "Custom Fields" page. However, the first few that I spot checked -- "Activity Feed", "Applications", "Approvals", "Candidates" -- looked fine.

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

No branches or pull requests

1 participant