You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Daniel Baker <in...@collisiondetection.biz> on 2020/01/26 12:25:26 UTC

Delete file or folder by ID - How to find ID ?

Hi, how can I determine the  ID  of a  folder or  file ?


@DELETE @Path("/{id}") publicServiceResult  <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/basic/ServiceResult.html?is-external=true>  delete​(@QueryParam("sid")String  <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true>  sid, @PathParam("id")Long  <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true>  id)

deletes files or folders based on it id

Parameters:
    |sid|- The SID of the User. This SID must be marked as logged in
    |id|- the id of the file or folder
Returns:
    |ServiceResult|
    <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/basic/ServiceResult.html?is-external=true>with
    result type


https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#delete(java.lang.String,java.lang.Long)



Thanks,

Dan