TagTrait
trait TagTrait
Trait TagTrait
Properties
ApiClient | $apiClient | Defined in UploadApi class. |
Methods
Adds a tag to the assets specified.
Adds a tag to the assets specified.
Removes a tag from the assets specified.
Removes a tag from the assets specified.
Removes all tags from the assets specified.
Removes all tags from the assets specified.
Replaces all existing tags on the assets specified with the tag specified.
Replaces all existing tags on the assets specified with the tag specified.
Details
PromiseInterface
addTagAsync(string $tag, array $publicIds = [], array $options = [])
Adds a tag to the assets specified.
This is an asynchronous function.
ApiResponse
addTag(string $tag, array $publicIds = [], array $options = [])
Adds a tag to the assets specified.
PromiseInterface
removeTagAsync(string $tag, array|string $publicIds = [], array $options = [])
Removes a tag from the assets specified.
This is an asynchronous function.
ApiResponse
removeTag(string $tag, array|string $publicIds = [], array $options = [])
Removes a tag from the assets specified.
PromiseInterface
removeAllTagsAsync(array $publicIds = [], array $options = [])
Removes all tags from the assets specified.
This is an asynchronous function.
ApiResponse
removeAllTags(array $publicIds = [], array $options = [])
Removes all tags from the assets specified.
PromiseInterface
replaceTagAsync(string $tag, array|string $publicIds = [], array $options = [])
Replaces all existing tags on the assets specified with the tag specified.
This is an asynchronous function.
ApiResponse
replaceTag(string $tag, array|string $publicIds = [], array $options = [])
Replaces all existing tags on the assets specified with the tag specified.