Pick the entry for apiId out of a /foundation/versions listing, preferring the highest version_id when a server lists more than one. Returns undefined when the server does not offer that API at all.
apiId
/foundation/versions
version_id
undefined
Pick the entry for
apiIdout of a/foundation/versionslisting, preferring the highestversion_idwhen a server lists more than one. Returnsundefinedwhen the server does not offer that API at all.