Paths
Manage legacy storage paths using Stook API v1.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired
The UUID of the organization
path_uuidstringRequired
The UUID of the path
Responses
200
Path details retrieved successfully
application/json
get
/api/v1/stook/{organization_uuid}/path/{path_uuid}GET /api/api/v1/stook/{organization_uuid}/path/{path_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Path details retrieved successfully
{
"status": true,
"data": {
"uuid": "text",
"organization_uuid": "text",
"root_path": "text",
"size": "text",
"label": "text",
"status": true,
"deleted": true,
"region": "text",
"ftp_accounts": [
{}
],
"stook_accounts": [
{}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired
The UUID of the organization
path_uuidstringRequired
The UUID of the path
Body
labelstringRequired
The label of the path
statusbooleanRequired
The status of the path
Responses
200
Path successfully updated
application/json
put
/api/v1/stook/{organization_uuid}/path/{path_uuid}PUT /api/api/v1/stook/{organization_uuid}/path/{path_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"label": "text",
"status": true
}200
Path successfully updated
{
"status": true,
"data": {
"uuid": "text",
"organization_uuid": "text",
"root_path": "text",
"size": "text",
"label": "text",
"status": true,
"deleted": true,
"region": "text",
"ftp_accounts": [
{}
],
"stook_accounts": [
{}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired
The UUID of the organization
path_uuidstringRequired
The UUID of the path
Responses
200
Path successfully deleted
application/json
delete
/api/v1/stook/{organization_uuid}/path/{path_uuid}DELETE /api/api/v1/stook/{organization_uuid}/path/{path_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Path successfully deleted
{
"status": true,
"message": "text"
}Last updated
Was this helpful?