[wp-trac] [WordPress Trac] #15151: Add Media Library calls to XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 19 17:07:16 UTC 2010
#15151: Add Media Library calls to XML-RPC
-------------------------+--------------------------------------------------
Reporter: frsh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.1
Severity: normal | Keywords: media library, xml-rpc
-------------------------+--------------------------------------------------
Description changed by westi:
Old description:
> 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.
New description:
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.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15151#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list