@Path(value="/apiInformation/") public class ApiInformationService extends Object
| Constructor and Description |
|---|
ApiInformationService() |
| Modifier and Type | Method and Description |
|---|---|
APIStats |
getAllDeployedApis(javax.ws.rs.core.HttpHeaders httpHeaders) |
APIStats |
getAllDeployedApisForTenant(String tenantDomain,
int tenantId,
javax.ws.rs.core.HttpHeaders httpHeaders) |
APIStatusData |
getApiStatus(String apiName,
String version,
javax.ws.rs.core.HttpHeaders httpHeaders) |
APIStatusData |
getApiStatusForTenant(String tenantDomain,
int tenantId,
String apiName,
String version,
javax.ws.rs.core.HttpHeaders httpHeaders) |
@Path(value="api/getApiList") @GET @Produces(value="application/json") public APIStats getAllDeployedApis(@Context javax.ws.rs.core.HttpHeaders httpHeaders)
@Path(value="api/{tenatDomain}/{tenantId}/getApiList")
@GET
@Produces(value="application/json")
public APIStats getAllDeployedApisForTenant(@PathParam(value="tenatDomain")
String tenantDomain,
@PathParam(value="tenantId")
int tenantId,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
@Path(value="api/getStatus/{apiName}/{version}")
@GET
@Produces(value="application/json")
public APIStatusData getApiStatus(@PathParam(value="apiName")
String apiName,
@PathParam(value="version")
String version,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
@Path(value="api/{tenatDomain}/{tenantId}/{apiName}/{version}")
@GET
@Produces(value="application/json")
public APIStatusData getApiStatusForTenant(@PathParam(value="tenatDomain")
String tenantDomain,
@PathParam(value="tenantId")
int tenantId,
@PathParam(value="apiName")
String apiName,
@PathParam(value="version")
String version,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
Copyright © 2018 WSO2 Inc. All rights reserved.