Paths

Manage legacy storage paths using Stook API v1.

Update Path

put
Authorizations
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
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": [
      {}
    ]
  }
}

Retrieve Path Details

get
Authorizations
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
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": [
      {}
    ]
  }
}

Delete Path

delete
Authorizations
Path parameters
organization_uuidstringRequired

The UUID of the organization

path_uuidstringRequired

The UUID of the path

Responses
200

Path successfully deleted

application/json
delete
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?