Project Creation Tasks

Create JFrog Platform Projects with UI workflows and REST APIs for stages, environments, roles, repositories, and members.

The basic workflow tasks for creating a JFrog Project are linked below. A Platform Admin can perform all these actions, and some 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
  • <ROLE>: The role name
  • <USER>: The username
  • <ARTIFACTORY_HOST>: Your Artifactory host
  • <REPO_NAME>: The repository name
  • <TARGET_PROJECT_KEY>: The target project key for sharing

For example:

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

Project Setup by a Platform Administrator

ProcedureUsing Platform UIUsing APIs
Create a project/assign project name, key, storage quota, admin privilegesSet Up a New ProjectCreate Project
POST <BASE_URL>/access/api/v1/projects
Create a Lifecycle StageCreate StagesCreate Lifecycle Stage
https://<ARTIFACTORY_HOST>/access/api/v2/stages
Update LifecycleEdit the LifecycleUpdate Lifecycle
https://<ARTIFACTORY_HOST>/access/api/v2/lifecycle
Create a global environmentCreate a Custom Global EnvironmentCreate Global Environment
POST <BASE_URL>/access/api/v1/environments
Create a project environmentCreate a Custom Project EnvironmentCreate Project Environment
POST <BASE_URL>/access/api/v1/projects/<PROJECT_KEY>/environments
Create a custom global roleCreate Custom Global RolesCreate a Custom Global Role
POST <BASE_URL>/access/api/v1/roles
Edit a global roleAssign Environments to Global and Project RolesEdit a Global Role
PUT <BASE_URL>/access/api/v1/roles/<ROLE>
Create a project roleCreate Project RolesCreate Role
POST <BASE_URL>/access/api/v1/projects/<PROJECT_KEY>/roles
Assign repositories to each environmentAssign Environments to RepositoriesUpdate Repository Configuration
(Based on changes made in the Repository Configuration JSON)
Edit a projectManage ProjectsUpdate Project
PUT <BASE_URL>/access/api/v1/projects/<PROJECT_KEY>
Add users to a projectAssign Members to a ProjectAdd or Update User in Project
PUT <BASE_URL>/access/api/v1/projects/<PROJECT_KEY>/users/<USER>
Add resources to a projectShare Repositories Across Multiple ProjectsShare Repository with Target Project
PUT /access/api/v1/projects/_/share/repositories/<REPO_NAME>/<TARGET_PROJECT_KEY>

Related Topics


Did this page help you?