@Path(value="/ssh-keys")
@Consumes(value="application/json")
public interface SshKeyApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
SshKeyApi.ParseSshKeys |
| Modifier and Type | Method and Description |
|---|---|
SshKey |
create(String label,
String key) |
void |
delete(String id) |
SshKey |
get(String id) |
PagedIterable<SshKey> |
list() |
IterableWithMarker<SshKey> |
list(ListOptions options) |
@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–2021 The Apache Software Foundation. All rights reserved.