get_all_versions | R Documentation |
Get the PIDs of all versions of an object.
get_all_versions(node, pid)
node |
(MNode) The Member Node to query. |
pid |
(character) Any object in the chain. |
(character) A vector of PIDs in the chain, in order.
## Not run:
cn <- CNode("STAGING2")
mn <- getMNode(cn,"urn:node:mnTestKNB")
pid <- "urn:uuid:3e5307c4-0bf3-4fd3-939c-112d4d11e8a1"
ids <- get_all_versions(mn, pid)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.