Revision ee565728 snf-pithos-app/pithos/api/functions.py

b/snf-pithos-app/pithos/api/functions.py
342 342

  
343 343

  
344 344
@api_method('GET', format_allowed=True, user_required=True, logger=logger,
345
            default_serialization="text")
345
            serializations=["text", "xml", "json"])
346 346
def container_list(request, v_account):
347 347
    # Normal Response Codes: 200, 204
348 348
    # Error Response Codes: internalServerError (500),
......
589 589

  
590 590

  
591 591
@api_method('GET', format_allowed=True, user_required=True, logger=logger,
592
            default_serialization="text")
592
            serializations=["text", "xml", "json"])
593 593
def object_list(request, v_account, v_container):
594 594
    # Normal Response Codes: 200, 204
595 595
    # Error Response Codes: internalServerError (500),

Also available in: Unified diff