Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#15151 closed enhancement

Add Media Library calls to XML-RPC — at Version 2

Reported by: frsh Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: XML-RPC Keywords: needs-docs
Focuses: Cc:

Description (last modified by westi)

Proposal: Add wp.getMediaLibrary and wp.getMediaLibraryItem calls to XML-RPC.

wp.getMediaLibrary This call would provide a caller with the ability to get a list of items in the user's Media Library with IDs, titles, descriptions, remote links, and any other relevant metadata. A filter parameter could be provided that would allow the caller to filter based on content type, file size, or other properties.

See get_attachments in http://svn.automattic.com/wordpress/trunk/wp-app.php.

wp.getMediaItem This call would provide a caller with the ability to get a specific item in the user's Media Library by providing an ID. The call would return the item's ID, title, description, remote link, and any other available metadata.

Change History (2)

#1 @frsh
8 years ago

  • Component changed from General to XML-RPC

#2 @westi
8 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.