Razuna 1.9.5 API - delete asset


#1

Hi,
I got a weird behavior with razuna 1.9.5 on ubuntu 16.04 self hosted.

When I try to delete an asset (image) with the API, I got the following HTTP 200 response :

{“message”:“session.file_id doesn’t exist.”,“errorcode”:"",“detail”:“Error at line 1, column 31”}

The asset is deleted but the response doesn’t contain responsecode as expected according to http://wiki.razuna.com/display/ecp/Asset+API2#AssetAPI2-RemoveAsset

{[“responsecode”:“0”,“message”:“Asset(s) have been removed successfully”]}

Any idea which file to check ?

Thank you.

Regards.


#2

Sorry to read. We will have to look into this. Thanks for the report.


#3

Hi,
I notice that in fact the asset isn’t deleted at all.


#4

Will be fixed in an upcoming version. Thank you.


#5

Hello,

I would just like to ask you if maybe this bug has already been resolved?

Thank you!

Best wishes
Marko


#6

Hello,
I don’t think so.
The version you can download on the site is still 1.9.5 so I guess it is the same bugged version.

I noticed that the delete API work in v1 but with the (messy from my point of view) rework of the API documentation I’m not sure if the API description is still available.

Regards.


#7

Yes, but we have not made a release version as of lately.


#8

The API documentation is available here. https://help.razuna.com/c/guides


#9

For me delete works for images, but doesn’t work for PDF.