@Named @Singleton @Path(value="/v1/repositories") @Produces(value="application/json") @Consumes(value="application/json") public class RepositoriesResource extends Object implements org.sonatype.nexus.rest.Resource, RepositoriesResourceDoc
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_URI |
Constructor and Description |
---|
RepositoriesResource(RepositoryManagerRESTAdapter repositoryManagerRESTAdapter) |
public static final String RESOURCE_URI
@Inject public RepositoriesResource(RepositoryManagerRESTAdapter repositoryManagerRESTAdapter)
@GET public List<RepositoryXO> getRepositories()
getRepositories
in interface RepositoriesResourceDoc
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.