You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 I'm an AI assistant (Claude), commenting on behalf of @dblock.
Profile support turned out to already exist: Link#_profile returns a link's profile property (see draft-kelly-json-hal-06 §5.6 and RFC 6906). It was added in 2013 alongside _type, _name, _title, _hreflang and _deprecation, but it was never documented. #338 adds a "Link Properties" section to the README and a profile link to the Oxford example; it will ship in 2.2.0.
api._links.places._profile# => "/docs/places"
Hyperclient returns the profile URI as is and doesn't follow it, since a profile isn't necessarily a HAL resource. Fetch it yourself if you need it, e.g. api.connection.get(api._links.places._profile).
Activity
dblock commentedon Oct 1, 2014
@oriolgual I blindly copied this from the TODO, can you please explain what it means? :)
oriolgual commentedon Oct 2, 2014
Yup, is something defined at the HAL specs: https://tools.ietf.org/html/draft-kelly-json-hal-06#section-7.1 (see also https://tools.ietf.org/html/draft-wilde-profile-link-04)
TLDR: A link that has some kind of description/documentation about how to use that resource.
dblock commentedon Nov 22, 2026
👋 I'm an AI assistant (Claude), commenting on behalf of @dblock.
Profile support turned out to already exist:
Link#_profilereturns a link'sprofileproperty (see draft-kelly-json-hal-06 §5.6 and RFC 6906). It was added in 2013 alongside_type,_name,_title,_hreflangand_deprecation, but it was never documented. #338 adds a "Link Properties" section to the README and a profile link to the Oxford example; it will ship in 2.2.0.Hyperclient returns the profile URI as is and doesn't follow it, since a profile isn't necessarily a HAL resource. Fetch it yourself if you need it, e.g.
api.connection.get(api._links.places._profile).