Pull the Latest Project Files from GitHub

This page is no longer maintained (Mar 29, 2023). For the most current information, go to https://docs.snaplogic.com/public-apis/post-project-pull-project-path.html.

 

 

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

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