Project API Endpoints
1. Create Project Endpoint
The endpoint to create a new project requires a POST
request with the following parameters:
name
: Name of the project.description
: Optional description of the project.members
: List of other members joining the project.permission
: Defines who can access and control the project (private
orgroup
).
Response:
On success, a 201 Created
status is returned.
2. View Project Details Endpoint
This endpoint retrieves the details of a specific project using a GET
request with the following parameter:
project_id
: The ID of the project whose details are to be viewed.
Response:
The server responds with a 200 OK
status and returns the project details, including: name, description, owners, members, quotaList.
3. Delete Project Endpoint
To delete a project, send a DELETE
request to the endpoint with the following parameter:
project_id
: The ID of the project to be deleted.
Response:
The server responds with a 200 OK
status to confirm the successful deletion of the project.