Folders
HIVO API Key
HIVO User ID
Folder path to create. Slashes in the path are treated as folder separators.
Parent/New Folder/Used when creating folders specific to a collection. Omit this field to create a folder in the Library.
Optional folder color. Must be one of the colors configured in the client folder settings.
Optional upload permissions to apply to the folder. Each permission should follow the structure
users/{user ID}:{permission} or groups/{group ID}:{permission}.
Available permissions are:
get: can viewshare: can shareupdate: can edit*: full access
Use GET /v1/users or GET /v1/groups to find user or group IDs.
Note: Adding a group to the permission list of a folder grants users in that group the corresponding permission to all Assets inside the folder. See https://support.hivo.co/library/folder-management-tools/folder-permissions.
Created
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
POST /api/rest/v1/folders HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"path": "Parent/New Folder/"
}{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"type": "folders",
"id": "text",
"attributes": {
"path": "text",
"collectionId": "text",
"clientId": "text",
"color": "text",
"perms": [
"text"
],
"action": "create",
"modifiedCount": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}Last updated