Project Management Tasks

Manage JFrog Platform Projects with UI procedures and REST APIs for create, share, unshare, delete, and storage quota operations.

The basic workflow for creating and using JFrog Projects is described below. A Platform Admin can perform all these actions, and many can also be performed by Project Admins. For more details, refer to individual APIs.

Where:

  • <BASE_URL>: Your JFrog Platform base URL for the Access API
  • <PROJECT_KEY>: The unique project key
  • <REPO_NAME>: The repository name
  • <TARGET_PROJECT_KEY>: The target project key
  • <USER>: The username
  • <GROUP>: The group name

For example:

POST https://company.jfrog.io/access/api/v1/projects

Project Management Procedures

ProceduresUsing Platform UIUsing APIs
1Create a project / assign project name, key, storage quota, admin privilegesCreate a ProjectCreate Project
POST <BASE_URL>/access/api/v1/projects
2Get a projectView Projects in the JFrog PlatformGet Project
GET <BASE_URL>/access/api/v1/projects/<PROJECT_KEY> 
3View projects / get project listView Projects in the JFrog PlatformGet Projects List
GET <BASE_URL>/access/api/v1/projects
4Modify a projectModify a ProjectUpdate Existing Project Properties
PUT <BASE_URL>/access/api/v1/projects/<PROJECT_KEY> 
5Update a user in a projectAssign Members to a ProjectAdd or Update User in Project
PUT <BASE_URL>/access/api/v1/projects/<PROJECT_KEY> 
6Manage storage quotasManage Storage QuotasCreate Project
POST <BASE_URL>/access/api/v1/projects
7Assign repositories to projects (assign ownership of repository to project)

Assign Multiple Projects to Resources

Repository Resources for Projects

Move Repository in a Project
PUT /v1/projects/_/attach/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>?force=true/false
8Share a repository with a projectShare Repositories Across Multiple ProjectsShare Repository with Target Project
PUT /v1/projects/_/share/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>
9Share repositories with multiple projectsShare Repositories Across Multiple ProjectsNot applicable.
10Share a repository with all projectsShare Repositories Across Multiple ProjectsShare Repository with All Projects
PUT /v1/projects/_/share/repositories/<REPO_NAME>
11Move a repository to a projectChange Repository Ownership from Project to ProjectMove Repository in a Project
PUT /v1/projects/_/attach/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>?force=true/false
12Share resources with projectsAssign Multiple Projects to ResourcesCreate Project
POST <BASE_URL>/access/api/v1/projects
13Unassign a project from a repositoryUnassign Repository from a ProjectUnassign a Project from a Repository
DELETE ’<BASE_URL>/access/api/v1/projects/_/attach/repositories/<REPO_NAME>
14Unshare a repository with a projectUnshare Repositories Across ProjectsUnshare Repository with Target Project
DELETE /v1/projects/_/share/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>
16Unshare a repository with all projectsUnshare Repositories Across ProjectsUnshare Repository with All Projects
DELETE /v1/projects/_/share/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>
17Delete a projectDelete a ProjectDelete Existing Project
DELETE <BASE_URL>/access/api/v1/projects/<PROJECT_KEY>

Related Topics


Did this page help you?