Changes between Initial Version and Version 1 of Ticket #1073


Ignore:
Timestamp:
Dec 15, 2014, 8:33:41 AM (10 years ago)
Author:
Jessica Tallon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1073

    • Property Keywords media types added; objectTypes uploads video removed
    • Property Summary [API] 'audio' and 'video' objectType's are not accepted.'audio' objectType is not accepted.
  • Ticket #1073 – Description

    initial v1  
    1 Trying to post an 'audio' object or 'video' object (or 'file' object, but this one might be not accepted in general) returns:
     1Trying to post an 'audio' object returns:
    22
    33HTTP 400: Bad Request.
    4 "{"error": "Unknown object type 'audio'."}"
    5 
    6 
    7 
    8 Interestingly, if I try to upload a 'file' object, and the file is the binary executable of a program (well, I tried with some from /usr/bin, at least), the server returns HTTP 500 instead.
     4{{{
     5{
     6    "error": "Unknown object type 'audio'."
     7}
     8}}}