Getting previous versions of items?

dwallraff
dwallraff
Community Member

Is it possible to op get item for previous versions of items?
I can see that an item has previous versions i.e. "itemVersion": 5, but I can't find any way to get the previous versions of an item...
Is there a flag I'm missing somewhere?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • dwallraff
    dwallraff
    Community Member

    Figured part of this out, and posting in case others come looking...

    The item I was looking at was type "Passwords" i.e. "templateUuid": "005", not a "Login" i.e. "templateUuid": "001".
    While items have versions, it looks like the item history (specifically the older passwords I was looking for) are included as part of the Login object, but not a Password object.

    It'd still be cool to be able to get previous versions of items via the cli, but this is a good enough work around for now.

  • cohix
    cohix
    1Password Alumni

    @dwallraff we currently don't have any officially supported way to get an older version of an item in the CLI. I'll make a note in our feature tracker that it's something you would be interested in.

  • dwallraff
    dwallraff
    Community Member

    Cool, thanks @cohix. Definitely not a "need to have", just a nice to have kind of thing.

  • cohix
    cohix
    1Password Alumni

    @dwallraff thanks for the feedback

This discussion has been closed.