This page is no longer maintained (). 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.

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

  • 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

Request

POST https://{pod_path}/api/1/rest/public/project/pull/{project_path}

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.

Authorization: Basic {your_encoded_security_credentials}

Content-Type: application/json

Request Body

None.

Related Links