Pull the Latest Project Files from GitHub
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 |
---|---|
| Required. The path to your SnapLogic pod. Example: |
| Required. The path to the SnapLogic Project. Format: 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
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.