@Path(value="/ssh-keys")
@Consumes(value="application/json")
public interface SshKeyApi
Modifier and Type | Interface and Description |
---|---|
static class |
SshKeyApi.ParseSshKeys |
@Named(value="sshkey:list") @GET PagedIterable<SshKey> list()
@Named(value="sshkey:list") @GET IterableWithMarker<SshKey> list(ListOptions options)
@Named(value="sshkey:create") @POST @Produces(value="application/json") SshKey create(String label, String key)
@Named(value="sshkey:get") @GET @Path(value="/{id}") @Nullable SshKey get(@PathParam(value="id") String id)
@Named(value="sshkey:delete") @DELETE @Path(value="/{id}") void delete(@PathParam(value="id") String id)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.