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

Look at supporting includes (hydrated objects) for v2 #411

Open
theckman opened this issue Jan 16, 2022 · 0 comments
Open

Look at supporting includes (hydrated objects) for v2 #411

theckman opened this issue Jan 16, 2022 · 0 comments
Milestone

Comments

@theckman
Copy link
Collaborator

There are some API endpoints that return reference objects by default, but allow you to request a fully hydrated object injected using the include[] query parameter.

Here's an example:

ExtensionObjects []APIObject `json:"extension_objects"`
ExtensionSchema APIObject `json:"extension_schema"`

In this struct they are APIObject, meaning they can only be references. However, per the docs, you can request they be hydrated: https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMg-list-extensions

We should look at supporting this for v2.

@theckman theckman added this to the v2.0.0 milestone Jan 16, 2022
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