Interface MediaAttachmentRepository
Methods
$select
$select( id: string,): { fetch(meta?: HttpMetaParams<"none">): Promise<MediaAttachment>; update( params: Partial, meta?: HttpMetaParams<"json">, ): Promise<MediaAttachment>;} Returns {
fetch(meta?: HttpMetaParams<"none">): Promise<MediaAttachment>;
update(
params: Partial,
meta?: HttpMetaParams<"json">,
): Promise<MediaAttachment>;
}
fetch:function
Parameters
Optional
meta: HttpMetaParams<"none">
update:function
update(params: Partial, meta?: HttpMetaParams<"json">): Promise<MediaAttachment> Parameters
- params: Partial
Optional
meta: HttpMetaParams<"json">
Attachment
Fetches an attachment to be used with a new status.