Getting previous versions of items?

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

  • 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.

  • cohixcohix

    Team Member

    @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.

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

  • cohixcohix

    Team Member

    @dwallraff thanks for the feedback

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file