Project Creation Tasks

The basic workflow tasks for creating a 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.

Project Setup by a Platform Administrator

Procedure

Using Platform UI

Using APIs

Create a project/assign project name, key, storage quota, admin privileges

Set Up a New Project

Create Project
POST ${baseUrl}/access/api/v1/projects

Create a Lifecycle Stage

Create Stages

Create Lifecycle Stage
https://{artifactory_host}/access/api/v2/stages

Update Lifecycle

Edit the Lifecycle

Update Lifecycle
https://{artifactory_host}/access/api/v2/lifecycle

Create a global environment

Create a Custom Global Environment

Create Global Environment
POST ${baseUrl}/access/api/v1/environments

Create a project environment

Create a Custom Project Environment

Create Project Environment
POST ${baseUrl}/access/api/v1/projects/{project_key}/environments

Create a custom global role

Create Custom Global Roles

Create Role
POST ${baseUrl}/access/api/v1/roles

Edit a global role

Assign Environments to Global and Project Roles

Update Role
PUT ${baseUrl}/access/api/v1/roles/{role}

Create a project role

Create Project Roles

Create Role
POST ${baseUrl}/access/api/v1/projects/{project_key}/roles

Assign repositories to each environment

Assign Environments to Repositories

Update Repository Configuration
(Based on changes made in the Repository Configuration JSON)

Edit a project

Manage Projects

Update Project
PUT ${baseUrl}/access/api/v1/projects/{project_key}

Add users to a project

Assign Members to a Project

Add or Update User in Project
PUT ${baseUrl}/access/api/v1/projects/{project_key}/users/{user}

Add resources to a project

Share Repositories Across Multiple Projects

Share Repository with Target Project
PUT /access/api/v1/projects/_/share/repositories/{repo_name}/{target_project_key}