@Path(value="services")
public interface IServiceResource
| Modifier and Type | Method and Description |
|---|---|
io.apiman.gateway.engine.beans.ServiceEndpoint |
getServiceEndpoint(String organizationId,
String serviceId,
String version) |
void |
publish(io.apiman.gateway.engine.beans.Service service) |
void |
retire(String organizationId,
String serviceId,
String version) |
@PUT
@Consumes(value="application/json")
void publish(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException,
NotAuthorizedException
io.apiman.gateway.engine.beans.exceptions.PublishingExceptionNotAuthorizedException@DELETE
@Path(value="{organizationId}/{serviceId}/{version}")
void retire(@PathParam(value="organizationId")
String organizationId,
@PathParam(value="serviceId")
String serviceId,
@PathParam(value="version")
String version)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException,
NotAuthorizedException
io.apiman.gateway.engine.beans.exceptions.RegistrationExceptionNotAuthorizedException@GET
@Path(value="{organizationId}/{serviceId}/{version}/endpoint")
@Produces(value="application/json")
io.apiman.gateway.engine.beans.ServiceEndpoint getServiceEndpoint(@PathParam(value="organizationId")
String organizationId,
@PathParam(value="serviceId")
String serviceId,
@PathParam(value="version")
String version)
throws NotAuthorizedException
NotAuthorizedExceptionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.