Project Resources
Project Resources
GET /api/v1/projects/{id}/resources
Get Project Resources
getProjectResources returns all resources in a project as a flat list
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
Response
Type: []ProjectResource
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/projects/{id}/resourcesPOST /api/v1/projects/{id}/resources
Create assign Resource To Project
assignResourceToProject assigns a model/dataset/workflow to a project
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
Request Body
Type: struct{}
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/projects/{id}/resourcesDELETE /api/v1/projects/{id}/resources/{type}/{resourceId}
Delete remove Resource From Project
removeResourceFromProject removes a model/dataset/workflow from a project
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
type | path | string | true |
resourceId | path | string | true |
Example
curl -X DELETE \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/projects/{id}/resources/{type}/{resourceId}