/ressource/{ressource-id}
Represents an individual ressource.
GET /ressource/{ressource-id} HTTP/1.1
Host: localhost:3000
workspace_ressources
permission is required.Name | Description | Type |
---|---|---|
|
The ID of the |
|
|
The ID of the |
|
|
The ID of the |
|
|
The privacy of the ressource. |
|
|
The value of the privacy. |
|
|
The privacy permission. |
|
|
||
|
||
|
The date that indicates when the ressource was created. |
|
|
The date that indicates when the ressource was updated for the last time. |
|
You can publish ressources by using the /user/ressources
, /workspace/ressources
or /environment/ressources
edges.
PUT /ressource/{ressource-id} HTTP/1.1
Host: localhost:3000
manage_ressources
permission is required.MANAGE
permission) with the current person.MANAGE
permission) of the workspace at witch is attached the ressource.Name | Description | Type |
---|---|---|
|
The ID of the |
|
|
The privacy of the ressource. |
|
|
The value of the privacy. |
|
|
The privacy permission. |
|
|
||
|
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.
DELETE /ressource/{ressource-id} HTTP/1.1
Host: localhost:3000
No fields are required.
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.