Where are Postman collections saved? - postman

Where does the standalone Postman client for Windows save collections when working offline?
To clarify, I want to find where Postman saves collection files to by default when online syncing is disabled. I am not trying to export my collection as a JSON file.
I've looked in %LocalAppData%, My Documents, and Program Files, but I don't see where Postman saves its collection data.

It looks like Postman uses LevelDB. On Windows, I found my Postman DB located at:
%HOMEPATH%\AppData\Roaming\Postman\IndexedDB\
ps: %HOMEPATH% is path for C:\Users\xxxx\
also worth mentioning: %APPDATA% is a shortcut for C:\Users\xxxx\AppData\Roaming\
According to Piere F, macOS users can find it under:
~/Library/Application Support/Postman/IndexedDB
ps: Note ~ is path for /Users/userAccount/
According to David, Ubuntu users can find it under:
~/.config/Postman/IndexedDB

Postman is using Chromium offline storage capabilities because at the end it's a SPA running inside Chromium (Electron technology).
From Postman's top menubar:
Select View → Show Dev Tools
Select the Application tab
In the sidebar, open Storage → IndexedDB → postman - file:// → collection_requests

In windows, postman v9.6.2 I was able to restore collections by pasting the IndexedDB folder in the following path:
\AppData\Roaming\Postman\Partitions\<GUID>\

On Mac: The json files were automatically backed up (/Users//Library/Application Support/Postman/backup-YYYY-MM-DDTHH:mm:ss.SSSZ.json) but it is not documented anywhere.
You just have to reimport them

This support documentation helped me recover my collections after the postman application stopped working.
https://support.postman.com/hc/en-us/articles/360035071313-How-to-recover-my-data-
If you weren't logged in to the app and using it offline or in the
Scratch Pad mode then your data won't get synced to our servers and
stays local to your instance. In this case, try following the steps
below:
Look for the backup files under the following folder:
%appdata%\Postman\​for Windows ~/Library/Application
Support/Postman​for macOS ~/.config/Postman​ for Linux
Backup file names will be similar to
backup-2020-02-26T23-13-43.082Z.json (date or time will be different
for you).

Alternatively, if you just want to look at the collection, you can export it into json format from the collection menu.

We work offline. So for Postman Scratchpad (official offline usage):
On Windows: %HOMEPATH%\AppData\Roaming\Postman\Partitions\
On Mac: ~/Library/Application Support/Postman/Partitions/
Simply backup or share the entire directory when you want to synch.

For the version Postman from Google Chrome extension, you need copy all files from path:
"%LOCALAPPDATA%\Google\Chrome\User Data\Default\Storage\ext\fhbjgbiflinjbdggehcddcbncdddomop\def\IndexedDB\chrome-extension_..."
The files inside path above contains all history and collections from Postman

Linux Chrome or Chromium Postman extension storage path Location
/home/{USER}/.config/chromium/Default/Storage/ext/fhbjgbiflinjbdggehcddcbncdddomop/
Thanks.

If you are using a snapped Postman on Linux, let me save you some time.
Copy all the content from your source snapped Postman UNDER (as the target GUID can be different)
/home/username/snap/postman/<id>/.config/Postman/Partitions/<standalone GUID>
to your target snapped Postman UNDER
/home/username/snap/postman/<a different id>/.config/Postman/Partitions/<a different standalone GUID>
Make sure you respect the target postman id and partition GUID.

Win10:
You have to back up your old Postman
C:\Users%user%\AppData\Roaming\Postman\IndexedDB
Then copy it to the same location of the new Postman installation.
This will recover all your collections.

In Debian-like systems, using Postman v7, I found a backup of all the collections and environments saved as JSON in ~/.config/Postman with the prefix backup-.
eg: ~/.config/Postman/backup-timestamp.json
Also, found a recent support article in Postman documentation:
How to recover my data

Windows 10, I copy these folder to another and worked.
C:\Users<username>\AppData\Local\Google\Chrome\User Data\Default\IndexedDB\chrome-extension_coohjcphdfgbiolnekdpbcijmhambjff_0.indexeddb.leveldb

Related

Uploading browser extension to Microsoft Partner Centre

I currently have continuous integration that updates an extension on Chrome Web Store and Mozilla Add On Market, however I am now trying to make a script that uploads to the Microsoft Partner Centre. Does anyone know how to upload via API to this Microsoft Partner Centre? (Specifically for Browser Extensions).
Microsoft just released the Microsoft Edge Add-Ons API which finally gives the ability to programmatically upload browser extensions to the web store via an API.
If you're using Node, can use the Edge Webstore Upload package to work with this API.
Do you want to upload Edge extension to Partner Center using some API? Partner Centre does not have such an API to provide to upload extensions. Correct me if I misunderstand what you want.
If you want to upload Edge extension, please refer to Publish your extension. If you want to update Edge extension, please refer to Update An Extension Listing.
So I found it particularly hard to write a script that would do this, so hard that I had to use Selenium due to all the JS loaded on the Microsoft Partner Centre sites. Never the less, I have written a script that will login, upload a new version and publish it (note that it won't work unless you've created and uploaded the first version of your extension yourself).
https://gist.github.com/8W9aG/d135f2780e2dc27baa682bae3a2a1cc7

How to download the all the requests in postman collections as one folder??

When I do export , all the requests are downloaded in single json file.
But I want all the requests in postman to be downloaded as single folder so that I can zip and send someone rather than sharing the link.
My postman version is Version 6.2.1 .
It isn't possible. You can only share it as a JSON file, or directly make one collection visible in another. Doc link: https://www.getpostman.com/docs/v6/postman/collections/sharing_collections

How to install postman on the machine which doesn't have internet?

I want to check web service is working or not using postman but I don't have the Internet on that machine. how can I install postman without chrome webstore?
or how should I check following web service using curl? using post request
http://url of web service
Content-Type : application/x-www-form-urlencoded
key value(which is to be submitted via the body of request)
inputString again
sourceLang eng-latn
targetLang hin
withSuggestions 1
You can simply download as an app from this link
.In this way once installed, you dont have to be on chrome.
Other way is to clone from git repository. From here
https://github.com/postmanlabs/postman-app-support
Then go the extensions in chrome.
Then developer mode
. Click Load unpacked extension.
If you want to install postman in chrome then just go to chrome web store.
Last week, Google announced plans to end support for Chrome Apps for Windows, Mac, and Linux users, over the next two years.
So to install postman as an application just go to this download link
go to the following link as given by akhil mathew and download postman depending upon your operating system
https://www.getpostman.com/apps

Push OO or xslt doc to google drive from django

I use pod to generate reports from django. A very smart solution, I enjoy it.
But pod solution required an Open Office (or LibreOffice) installation on client desktop (or server side).
To avoid Open Office software I will hope to send report to google drive as a new (or existing) doc from a django app (or python ...).
Someone would to share expertise with this kind of issue? Else, What would be the steps to publish a google doc from django app?
If your Python app can produce a csv file, you can upload it to Google Docs using the Documents List API and convert it into a Spreadsheet:
https://developers.google.com/google-apps/documents-list/#creating_or_uploading_spreadsheets
Many other file formats can be imported, please check the docs for more details.

Is there a web based SVN viewer/browser that can let you browse any repository that is available online?

I don't want to install a single thing. There must be a web based viewer somewhere! I'm having a hard time finding such a thing in google.
There must be somewhere online where I can simply paste "svn://nex-3.com/gtk-themes" and it will let me browse the contents of the repository (assuming the repo exists and is publicly viewable).
EDIT: I guess I can just use any browser's directory tree browser. hehe
To access svn via http, you could configure it with apache using mod_dav.
I know that you have to install something, but it is what I would use.
Do you have your own SVN installed locally or are you looking for a hosted SVN solution?
If you're looking for a hosted solution with http access, Unfuddle is great.
There is a Firefox add-on called Tortoise SVN Menu but it requires Tortoise SVN client to be installed as well.
I guess I can just use any browser's directory tree browser. hehe