class GdsApi::PublishingApiV2

def get_links_for_content_ids(content_ids)

Returns:
  • (Hash) - a mapping of content_id => links

Parameters:
  • content_ids (Array) --
def get_links_for_content_ids(content_ids)
  post_json("#{endpoint}/v2/links/by-content-id", content_ids: content_ids).to_hash
end