Skip to content

Commit

Permalink
feat: Update project endpoint urls
Browse files Browse the repository at this point in the history
  • Loading branch information
das-Abroxas committed Feb 10, 2025
1 parent d0f454b commit c3483cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/get_started/basic_usage/04_How-To-Project.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The project creator is automatically granted ADMIN permissions on the created Pr
}' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-X POST https://<URL-to-Aruna-instance-API-endpoint>/v2/project
-X POST https://<URL-to-Aruna-instance-API-endpoint>/v2/projects
```

=== ":simple-rust: Rust"
Expand Down Expand Up @@ -123,7 +123,7 @@ API example for fetching info of an existing Project.
# Native JSON request to fetch information of a Project
curl -H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-X GET https://<URL-to-Aruna-instance-API-endpoint>/v2/project/{project-id}
-X GET https://<URL-to-Aruna-instance-API-endpoint>/v2/projects/{project-id}
```

=== ":simple-rust: Rust"
Expand Down Expand Up @@ -583,7 +583,7 @@ A Project can be archived which sets it and all the downstream relations to an i
# Native JSON request to archive a Project
curl -H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-X PATCH https://<URL-to-Aruna-instance-API-endpoint>/v2/project/{project-id}/archive
-X PATCH https://<URL-to-Aruna-instance-API-endpoint>/v2/projects/{project-id}/archive
```

=== ":simple-rust: Rust"
Expand Down Expand Up @@ -638,7 +638,7 @@ API examples of how to delete a Project.
# Native JSON request to delete a project
curl -H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-X DELETE https://<URL-to-Aruna-instance-API-endpoint>/v2/project/{project-id}
-X DELETE https://<URL-to-Aruna-instance-API-endpoint>/v2/projects/{project-id}
```

=== ":simple-rust: Rust"
Expand Down

0 comments on commit c3483cd

Please sign in to comment.