You can save the ID after call to  `add`
Or you can list files using any method available

On Sun, 26 Jan 2020 at 19:26, Daniel Baker <[email protected]>
wrote:

> Hi, how can I determine the  ID  of a  folder or  file ?
>
>
> @DELETE @Path("/{id}") public ServiceResult 
> <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
>


-- 
WBR
Maxim aka solomax

Reply via email to