Masters,
I have few DCR's in one evnironment(DEV), once deployed to LSCS, I'm planning to retrieve it using lscs rest based api from lscs repository. for ex:
[php]
http://xxxx:1876/lscs/v1/document/id/85939e4e44d167a4388e44a4ca7957ab[/php]My question is can I depend on the ID i'm using when I migrate the DCR's to other environment (Prod/QA). If yes then what happens if some editor delete's the DCR's and creates a new DCR which gets a new ID. Should I go by something like below? Here I see the scenario of what if there are some junk/unused/test/corrupted DCR's available. The below query definetely pulls all matching documents and I can loop through get the ID to query back DCR independently.
[php]
http://xxxxx:1876/lscs/v1/document?q=TeamSite/Templating/DCR/Type
roduct*[/php]
Any suggestions/questions/concerns/best practices are all appreciated.