Project APIs

Project APIs allow you to do the following:
  • Git Operations. Perform Git operations on the repository associated with your project. Use authorized individual user accounts (and not SnapLogic service accounts) for these purposes.
  • Project Management. Manage APIs in your projects.
  • Project Migration. Migrate a project from one Environment/Org to another and track that migration.
  • Project Import/Export. Import/Export a project to another Snaplex.
Git Operation 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 Git branch for the specified project.
POST /project/pull/{project_path} updates the specified project with the latest files from the associated Git 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.
GET /project/untrack/{project_path} stops tracking Projects with Git. You can use this API to stop tracking Projects and Project Spaces with Git.
Project Management APIs
POST /project/copy_assets copies a list of assets from one or more projects to a single project.
POST /project/list_assets lists the content for the exported files for project and individual assets.
Project Migration APIs
POST /project/migrate/{project_path} migrates a SnapLogic Project from one Environment/Org to another.
GET /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.
GET /project/export/{asset_path} exports individual assets within the same project, accounts, pipelines, tasks, and files.
POST /project/import/asset_path imports individual assets within the same project, accounts, pipelines, tasks, and files.