Project APIs

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

 

Project APIs allow you to do the following:

  • GitHub Operations. Perform GitHub operations on the repository associated with your project.

  • Project Management. Manage APIs in your projects.

  • Project Migration. Migrate a project from one Org to another and track that migration.

  • Project Import. Import a project to another Snaplex.

GitHub Operations APIs

GitHub Operations APIs

POST /project/git-branch/{project_path}

Duplicates the Git branch that is associated with the specified project and uses the currently tracked commit as the head of the new branch.

POST /project/create-project/{project_path}

Creates a project using the files in the specified Git repository and branch.

POST /project/checkout/{project_path}

Checks out the specified GitHub branch for the specified project.

POST /project/pull/{project_path}

Updates the specified project with the latest files from the associated GitHub repository.

POST /project/git-tag/{project_path}

Associates the specified Git tag with the commit that is currently tracked by the specified project.

GET /project/git-tag/{project_path}

Retrieves the list of Git tags associated with the commit that is currently tracked by the specified project.

GET /project/repo-status/{project_path}

Retrieves the status of the Git repository associated with the specified project.

Project Management APIs

POST /project/copy_assets

Copies a list of assets from one or more projects to a single project.

Project Migration APIs

POST /project/migrate/{project_path}

Migrates a SnapLogic Project from one Org to another.

GET /project/migrate/{status-token}

Retrieves the status of a migration.

Project Import APIs

GET /project/export/{project_path}

Exports a zip file containing the specified project's files.

POST /project/import/{import_path}

Imports a project to a new location, such as a production Snaplex.