#74 new
Mark Paschal

Show in API when an item is a save

Reported by Mark Paschal | March 12th, 2011 @ 12:26 PM

Items in the API (the friend shake, for example) don't indicate when they are “saves” of other items already on the site. This would help clients that would like to show saves as “shared” by the poster, but credit the original poster of the item. For example, a save may appear in the API as:

{
    "description": null,
    "height": 360,
    "name": "http://www.youtube.com/watch?v=oEpj6m_hooI",
    "original_image_url": "http://mlkshk.com/r/XNU",
    "permalink_page": "http://mlkshk.com/p/XNU",
    "title": "\u65e5\u672c\u4e00\uff01\uff1f\u3000\u5927\u304d\u306a\u9d8f\u5375\uff01\uff01\u3000\u885d\u6483\u306e\u4e2d\u8eab  \u3000BIG\u3000EGG",
    "user_id": 2,
    "user_name": "andre",
    "width": 480
}

Instead it might be nice if it were:

{
    "description": null,
    "height": 360,
    "name": "http://www.youtube.com/watch?v=oEpj6m_hooI",
    "original": {
        "description": null,
        "height": 360,
        "name": "http://www.youtube.com/watch?v=oEpj6m_hooI",
        "original_image_url": "http://mlkshk.com/r/XN1",
        "permalink_page": "http://mlkshk.com/p/XN1",
        "title": "\u65e5\u672c\u4e00\uff01\uff1f\u3000\u5927\u304d\u306a\u9d8f\u5375\uff01\uff01\u3000\u885d\u6483\u306e\u4e2d\u8eab  \u3000BIG\u3000EGG",
        "user_id": 1778,
        "user_name": "satoru",
        "width": 480
    },
    "original_image_url": "http://mlkshk.com/r/XNU",
    "permalink_page": "http://mlkshk.com/p/XNU",
    "title": "\u65e5\u672c\u4e00\uff01\uff1f\u3000\u5927\u304d\u306a\u9d8f\u5375\uff01\uff01\u3000\u885d\u6483\u306e\u4e2d\u8eab  \u3000BIG\u3000EGG",
    "user_id": 2,
    "user_name": "andre",
    "width": 480
}

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

MLKSHK it's fun for the whole family.

Shared Ticket Bins

People watching this ticket

Pages