| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
package org.xwiki.rest.resources.wikis; |
| 21 |
|
|
| 22 |
|
import javax.ws.rs.DefaultValue; |
| 23 |
|
import javax.ws.rs.GET; |
| 24 |
|
import javax.ws.rs.Path; |
| 25 |
|
import javax.ws.rs.PathParam; |
| 26 |
|
import javax.ws.rs.QueryParam; |
| 27 |
|
|
| 28 |
|
import org.xwiki.rest.XWikiRestException; |
| 29 |
|
import org.xwiki.rest.model.jaxb.Attachments; |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
@version |
| 33 |
|
|
| 34 |
|
@Path("/wikis/{wikiName}/attachments") |
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 35 |
|
public interface WikiAttachmentsResource |
| 36 |
|
{ |
| 37 |
|
@GET Attachments getAttachments( |
| 38 |
|
@PathParam("wikiName") String wikiName, |
| 39 |
|
@QueryParam("name") @DefaultValue("") String name, |
| 40 |
|
@QueryParam("page") @DefaultValue("") String page, |
| 41 |
|
@QueryParam("space") @DefaultValue("") String space, |
| 42 |
|
@QueryParam("author") @DefaultValue("") String author, |
| 43 |
|
@QueryParam("types") @DefaultValue("") String types, |
| 44 |
|
@QueryParam("start") @DefaultValue("0") Integer start, |
| 45 |
|
@QueryParam("number") @DefaultValue("25") Integer number, |
| 46 |
|
@QueryParam("prettyNames") @DefaultValue("false") Boolean withPrettyNames |
| 47 |
|
) throws XWikiRestException; |
| 48 |
|
} |