Class Attachment
Enables the /attachments REST.
-
MatthiasWeb\RealMediaLibrary\base\Base
-
MatthiasWeb\RealMediaLibrary\rest\Attachment
Methods summary
public
|
|
public
|
#
updateItem( $request )
Api
{put} /realmedialibrary/v1/attachments/:id Update an attachment by id
Apigroup
Attachment
Apiname
UpdateAttachment
Apiparam
{int} folderId The folder id
{int} attachmentId The attachment id
{int} [nextId] The next id relative to the attachment
{int} lastId The last id in the current sortable view
Apiversion
1.0.0
|
public
|
#
routeShortcutInfo( $request )
Api
{get} /realmedialibrary/v1/posts/:id/shortcutInfo Get the shortcut container
Apigroup
Attachment
Apiname
GetAttachmentShortcutInfo
Apiversion
1.0.0
|
public
|
#
routeBulkMove( $request )
Api
{put} /realmedialibrary/v1/attachments/bulk/move Move/Copy multipe attachments
Apigroup
Attachment
Apiname
UpdatePostBulkMove
Apiparam
{int[]} ids The post ids to move / copy
{int} to The term id
{boolean} isCopy If true the post is appended to the category
Apiversion
1.0.0
|