@Path(value="groups")
public interface GroupsResource
| Modifier and Type | Method and Description |
|---|---|
void |
addPost(long group_id,
Post post) |
Group |
getGroup(long group_id,
String fields) |
Posts |
getPosts(long group_id,
Long start,
Long count,
Order order,
PostCategoryCode category,
Long modified_since,
String fields) |
@GET
@Produces(value="application/xml")
@Path(value="/{group-id}{fields}")
Group getGroup(@PathParam(value="group-id")
long group_id,
@PathParam(value="fields")
String fields)
@GET
@Produces(value="application/xml")
@Path(value="/{group-id}/posts{fields}")
Posts getPosts(@PathParam(value="group-id")
long group_id,
@QueryParam(value="start")
Long start,
@QueryParam(value="count")
Long count,
@QueryParam(value="order")
Order order,
@QueryParam(value="category")
PostCategoryCode category,
@QueryParam(value="modified-since")
Long modified_since,
@PathParam(value="fields")
String fields)
@POST
@Consumes(value="application/xml")
@Path(value="/{group-id}/posts")
void addPost(@PathParam(value="group-id")
long group_id,
Post post)
Apache Camel