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.attachments; |
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}/spaces/{spaceName: .+}/pages/{pageName}/history/{version}/attachments") |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
35 |
|
public interface AttachmentsAtPageVersionResource |
36 |
|
{ |
37 |
|
@GET Attachments getAttachmentsAtPageVersion( |
38 |
|
@PathParam("wikiName") String wikiName, |
39 |
|
@PathParam("spaceName") String spaceName, |
40 |
|
@PathParam("pageName") String pageName, |
41 |
|
@PathParam("version") String version, |
42 |
|
@QueryParam("start") @DefaultValue("0") Integer start, |
43 |
|
@QueryParam("number") @DefaultValue("-1") Integer number, |
44 |
|
@QueryParam("prettyNames") @DefaultValue("false") Boolean withPrettyNames |
45 |
|
) throws XWikiRestException; |
46 |
|
} |