Phraseanet Documentation

Table des Matières

Vous consultez actuellement la version 3.6. Consulter une autre version :

Baskets SetDescription

About

Set the description of the basket

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

Parameters

Parameters Value Information
basket_id   the basket_id of the selected basket
description   the description of the basket

Response Fields

Field Description
basket The basket

Response sample

{
    "meta": {
        "api_version": "1.0",
        "request": "POST /api/v1/baskets/721/setdescription/",
        "response_time": "2011-07-27T14:39:20+02:00",
        "http_code": 200,
        "error_message": null,
        "error_details": null,
        "charset": "UTF-8"
    },
    "response": {
        "basket": {
            "721": {
                "created_on": "2011-07-27T14:39:20+02:00",
                "description": "Une belle description",
                "name": "Nouveau",
                "pusher_usr_id": null,
                "ssel_id": 721,
                "updated_on": "2011-07-27T14:39:20+02:00",
                "unread": false
            }
        }
    }
}