A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learning.postman.com/docs/getting-started/importing-and-exporting/importing-from-git/ below:

Import data from a Git repository

Import data from a Git repository

If you have API definitions, API specifications, collections, or environments in a Git repository, you can import the data so you can work with it in Postman.

Postman supports importing from GitHub, Bitbucket, GitLab, and Azure DevOps repositories. You can import data from a local repository on your computer or from a remote repository hosted in the cloud.

You can also connect your API in the Postman API Builder to a remote GitHub, Bitbucket, GitLab, or Azure DevOps repository. Once connected, you can sync your API definition and associated collections in Postman with the remote repository. Learn more about connecting your API to a Git repository.

Import from a local Git repository

You can import data from a local GitHub, Bitbucket, GitLab, or Azure DevOps repository on your computer.

  1. In Postman, click Import in the sidebar.

  2. On your computer, open your local repository and locate the files or folders you want to import. Drag and drop the files or folders into Postman.

    If you import a single OpenAPI 3.0 or AsyncAPI 2.0 definition file this way, you'll only have the option to import the definition into Spec Hub. To import an OpenAPI 3.0 or AsyncAPI 2.0 definition into the API Builder, import the file into your API.

  3. Select options based on what you're importing:

    Click View Import Settings for more configuration options. These options will vary depending on your API specification.

  4. Click Import.

  5. An Import Complete message displays in the footer. In the message, click Go to Collection next to a collection, environment, or API to open the imported element.

Import from a remote Git repository

You can import data from a remote GitHub, Bitbucket, GitLab, or Azure DevOps repository hosted in the cloud.

  1. In Postman, click Import in the sidebar.

  2. Select the type of repository you want to import from. Click Other Sources and then select GitHub, Bitbucket, GitLab, or Azure.

  3. A browser tab opens asking you to sign in to your repository. Follow the onscreen instructions. When you're finished, close the browser tab and return to Postman.

    Postman stores your authorized accounts so you can use them to connect to other repositories and services. Learn more about managing connected accounts for remote repositories.

  4. In Postman, select the Organization or Workspace and the Repository you want to import from. (For GitLab, select the Group and Project.) Then select the Branch with the data you want to import.

    If you import a single OpenAPI 3.0 or AsyncAPI 2.0 definition file this way, you'll only have the option to import the definition into Spec Hub. To import an OpenAPI 3.0 or AsyncAPI 2.0 definition into the API Builder, import the file into your API.

  5. Click Continue, then select options based on what you're importing:

    Click View Import Settings for more configuration options. These options will vary depending on your API specification.

  6. Click Import.

  7. An Import Complete message displays in the footer. In the message, click Go to Collection next to a collection, environment, or API to open the imported element.

Last modified: 2025/02/07


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4