- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery to serve as a base for finding related teams. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery. Validations:
|
|
team_id
required |
ID of the team. Validations:
|
|
write
optional |
Indicates whether the access to the gallery should be read/write or read-only. Default: false Validations:
|
|
manage
optional |
Indicates whether the user is allowed to manage the gallery. Default: false Validations:
|
|
approve
optional |
Indicates whether the user is allowed to approve asset of the gallery. Default: false Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery. Validations:
|
|
team_id
required |
ID of the team. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery. Validations:
|
|
own_teams
required |
Apply update to users (own teams) or normal teams. Validations:
|
|
revoke
optional |
Revoke all access rights to the gallery Validations:
|
|
write
optional |
Grant write access to the gallery instead of read-only access. Required unless revoke is true. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
team_id
required |
ID of the team. Validations:
|
|
revoke
optional |
Revoke the team’s access rights to all galleries. Validations:
|
|
write
optional |
Grant the team write access to all galleries instead of read-only access. Required unless revoke is true. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery metadata of which will be updated. Validations:
|
|
custom_metadata
required |
A Hash of Hashes. First level keys are indices of the elements. Second level keys are ‘value’ and ‘custom_metadata_field’. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery metadata of which will be displayed. Validations:
|
- Authentication: The user must be authenticated to perform this action.
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery to be displayed. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery’s assets which will be displayed. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
gallery
optional , nil allowed |
Validations:
|
|
gallery[name]
required |
Name of the gallery Validations:
|
|
gallery[description]
required |
Headline/description of the gallery. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery to be updated. Validations:
|
|
gallery
optional , nil allowed |
Validations:
|
|
gallery[name]
optional |
Name of the gallery Validations:
|
|
gallery[description]
optional |
Headline/description of the gallery. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery to be destroyed. Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery to which an asset should be added to. Validations:
|
|
prefix
optional |
Target dirname in the Gallery Validations:
|
|
asset_ids
optional |
List of IDs of assets Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
id
required |
ID of the gallery that the uploaded asset will be injected to. Validations:
|
|
uids
required |
TUS upload ids Validations:
|
|
prefix
required |
Folder structure to store the files in Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of the Gallery. Validations:
|
|
storage
optional |
The storage of the parent folder Validations:
|
|
dirname
required |
The dirname of the parent folder Validations:
|
|
name
required |
Name of the new folder to be created Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of the Gallery. Validations:
|
|
target_folder
required |
Target folder for the assets and folders Validations:
|
|
target_folder[storage]
optional |
Storage/media name of the folder Validations:
|
|
target_folder[dirname]
required |
Container relative path to the folder Validations:
|
|
folders
optional |
Array of Hashes for folders to be moved Validations:
|
|
folders[container_id]
required |
Container’ ID of the folder Validations:
|
|
folders[storage]
optional |
Storage/media name of the folder Validations:
|
|
folders[dirname]
required |
Container relative path to the folder Validations:
|
|
asset_ids
optional |
Array of asset ids to be moved Validations:
|
|
mode
optional |
‘overwrite’ to replace existing folders or assets Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of the Gallery. Validations:
|
|
folder
required |
Folder to be renamed Validations:
|
|
folder[storage]
optional |
Storage/media name of the folder Validations:
|
|
folder[dirname]
required |
Container relative path to the folder Validations:
|
|
name
required |
New name of the folder Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of the Gallery. Validations:
|
|
asset_id
optional |
ID of the asset to be renamed Validations:
|
|
name
required |
New name of the asset Validations:
|
- Authentication: The user must be authenticated to perform this action.
| Param name | Description |
|---|---|
|
storage
required |
The storage of the folder Validations:
|
|
dirname
required |
The dirname of the folder Validations:
|