Skip to end of banner
Go to start of banner

Pull the Latest Project Files from GitHub

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15

POST /project/pull/{project_path}

Overview

This API updates the specified project with the latest files from the associated GitHub repository. Equivalent to git pull.

You can use GitHub APIs in Continuous Integration / Continuous Deployment (CI/CD) workflows to pull files from GitHub repositories.

  • The project must already be associated with a GitHub repository.

  • You can track a maximum of 1,000 assets per project. If you try to check out a project with more than 1,000 assets, SnapLogic throws an error.

  • You must use the SnapLogic Manager UI or GitHub tools to commit changes to your repository.

Prerequisites

  • Write access to the assets to be added or updated

Request

Path Parameters

Key

Description

pod_path

Required. The path to your SnapLogic pod.

Example: elastic.snaplogic.com

project_path

Required. The path to the SnapLogic Project.

Format: {org}/{project_space}/{project_name}

The path comparison is case-sensitive.

Query Parameters

None.

Request Header

Specify Basic for authorization and application/json for content type.

Request Body

None.

Related Links

  • No labels