Overview
  • Namespace
  • Class

Namespaces

  • MatthiasWeb
    • RealMediaLibrary
      • api
      • attachment
      • base
      • comp
        • complexquery
      • folder
      • general
      • metadata
      • order
      • rest
      • usersettings
  • None

Classes

  • Attachment
  • Folder
  • Reset
  • Service

Class Attachment

Enables the /attachments REST.

MatthiasWeb\RealMediaLibrary\base\Base
Extended by MatthiasWeb\RealMediaLibrary\rest\Attachment
Namespace: MatthiasWeb\RealMediaLibrary\rest
Located at rest/Attachment.class.php

Methods summary

public
# rest_api_init( )

Register endpoints.

Register endpoints.

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

Methods inherited from MatthiasWeb\RealMediaLibrary\base\Base

debug(), getCore(), getTableName()

API documentation generated by ApiGen