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 ProjectPOST ${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 Lifecyclehttps://{artifactory_host}/access/api/v2/lifecycle |
| Create a global environment | Create a Custom Global Environment | Create Global EnvironmentPOST ${baseUrl}/access/api/v1/environments |
| Create a project environment | Create a Custom Project Environment | Create Project EnvironmentPOST ${baseUrl}/access/api/v1/projects/{project_key}/environments |
| Create a custom global role | Create Custom Global Roles | Create a Custom Global RolePOST ${baseUrl}/access/api/v1/roles |
| Edit a global role | Assign Environments to Global and Project Roles | Edit a Global RolePUT ${baseUrl}/access/api/v1/roles/{role} |
| Create a project role | Create Project Roles | Create RolePOST ${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 ProjectPUT ${baseUrl}/access/api/v1/projects/{project_key} |
| Add users to a project | Assign Members to a Project | Add or Update User in ProjectPUT ${baseUrl}/access/api/v1/projects/{project_key}/users/{user} |
| Add resources to a project | Share Repositories Across Multiple Projects | Share Repository with Target ProjectPUT /access/api/v1/projects/_/share/repositories/{repo_name}/{target_project_key} |
Updated 4 months ago
Did this page help you?
