ContextTrait
trait ContextTrait
Trait ContextTrait
Properties
ApiClient | $apiClient | Defined in UploadApi class. |
Methods
addContextAsync(array|string $context, array|string $publicIds = [], array $options = [])
Adds context metadata as key-value pairs to the the specified assets.
addContext(array|string $context, array|string $publicIds = [], array $options = [])
Adds context metadata as key-value pairs to the the specified assets.
removeAllContextAsync(array|string $publicIds = [], array $options = [])
Removes all context metadata from the specified assets.
removeAllContext(array $publicIds = [], array $options = [])
Removes all context metadata from the specified assets.
Details
PromiseInterface
addContextAsync(array|string $context, array|string $publicIds = [], array $options = [])
Adds context metadata as key-value pairs to the the specified assets.
This is an asynchronous function.
ApiResponse
addContext(array|string $context, array|string $publicIds = [], array $options = [])
Adds context metadata as key-value pairs to the the specified assets.
PromiseInterface
removeAllContextAsync(array|string $publicIds = [], array $options = [])
Removes all context metadata from the specified assets.
This is an asynchronous function.
ApiResponse
removeAllContext(array $publicIds = [], array $options = [])
Removes all context metadata from the specified assets.