Udostępnij przez


Common URNs & Namespaces

This reference page displays a set of common URNs on V2 API platform. For reference on URNs, please see here . The bolded names are their namespace and you will find which V1 and V2 APIs correspond to each URN. V1 APIs utilize IDs and V2 APIs utilize URNs.

URN Information V2 Endpoints
urn:li:person:{id}
  • Person ID is unique to each application.
Profile API
urn:li:share:{id}
  • Share URN can be translated here.
UGC Post API
urn:li:originalArticle:{id}
  • Will need to utilize newsArticle URN.
Article API
urn:li:ugcPost:{id}
  • This URN type currently captures video posts and will include more types in the future.
UGC Post API
urn:li:comment:({activityURN},{commentId})
  • Comment URN can be translated here using the V2 Activities API.
Social Action API
urn:li:like:({personUrn},{activityUrn})
  • Like URN can be translated here using the V2 Activities API.
Social Action API
urn:li:organization:{id}
  • Company ID translates to Organization Urn via urn:li:organization:{companyID}. 
  • Company URN and Organization URN are interchangeable through its namespace (e.g. urn:li:company:1 can become urn:li:organization:1).
  • A School ID will migrate to an Organization URN with an ID translation (e.g. school ID 123 will be urn:li:organization:456).
Organization API