Accessing top-level response object?
Closed this issue · 2 comments
benjy commented
Is it possible to access the top level response object per API call?
dlikhten commented
Heh, late response. No. But why would you need to?
getRequestInfo
gives you lots of useful data:
- results
- meta (where any weird props should go)
The only thing not immediately available is includes, but those can easily be traversed via the getRelationship
benjy commented
I think my use case was accessing some information drupal sent back in the "links" key at the top level but I can't remember now, i've moved away from this library instead. Thanks.