list

Retrieves a list of attachments for the owning object.

Parameters

NameDescription
user_id required The user that’s performing the action.
owner_xid required The cross reference id that the uploaded content is attached to. (ie: statusId, post_id, message_id, etc.)
owner_type required The cross reference content type that the uploaded content is attached to. (ie: blog_post, photo, video, photo_gallery, user_profile, group, forum_post, forum_thread, forum, message, site, audio, audio_gallery, podcast, petition, document, article, article_version, calendar_event, calendar, wiki_page, ugc_status, ext_content, discussion_post)
site_id required The site id.

Request Syntax

https://services.onesite.com/1/attachment/list.json?devkey=[devkey]&site_id=234714047&attachment_id=49897&user_id=229928503&owner_type=blog_post&owner_xid=117118139

JSON Response