Fork me on GitHub
Phraseanet Documentation

Baskets SetDescription

About

Set the description of the basket

/api/v1/baskets/{basket_id}/setdescription/
Informations  
HTTP Method POST
Requires Authentication Yes

Parameters

Parameters Type Information
basket_id integer The basket_id of the selected basket
description string The description of the basket

Response Fields

Field Description
basket The basket

Response sample

{
    "meta": {
        "api_version": "1.3",
        "request": "POST /api/v1/baskets/148/setdescription/",
        "response_time": "2012-06-29T18:27:28+02:00",
        "http_code": 200,
        "error_type": null,
        "error_message": null,
        "error_details": null,
        "charset": "UTF-8"
    },
    "response": {
        "basket": {
        "basket_id": 148,
        "created_on": "2012-06-29T18:19:30+02:00",
        "description": "my description here",
        "name": "test",
        "pusher_usr_id": null,
        "updated_on": "2012-06-29T18:27:29+02:00",
        "unread": false,
        "validation_basket": false
        }
    }
}