| Package | Description |
|---|---|
| org.wso2.carbon.appmgt.api | |
| org.wso2.carbon.appmgt.api.model |
| Modifier and Type | Method and Description |
|---|---|
Documentation |
APIManager.getDocumentation(APIIdentifier apiId,
DocumentationType docType,
String docName)
Returns the specified document attached to the given WebApp
|
Documentation |
APIManager.getDocumentation(String docId,
String requestedTenantDomain)
Get a documentation by artifact Id
|
| Modifier and Type | Method and Description |
|---|---|
List<Documentation> |
APIManager.getAllDocumentation(APIIdentifier appId)
Returns a list of documentation attached to a particular WebApp
|
List<Documentation> |
APIManager.getAllDocumentation(APIIdentifier apiId,
String loggedUserName)
Returns a list of documentation attached to a particular WebApp
|
| Modifier and Type | Method and Description |
|---|---|
void |
APIProvider.addDocumentation(APIIdentifier apiId,
Documentation documentation)
Adds Documentation to an WebApp
|
void |
APIProvider.addFileToDocumentation(WebApp appId,
Documentation documentation,
String filename,
InputStream content,
String contentType)
Add a file to a document of source type FILE
|
void |
APIProvider.updateDocumentation(APIIdentifier apiId,
Documentation documentation)
Updates a given documentation
|
| Modifier and Type | Method and Description |
|---|---|
Set<Documentation> |
WebApp.getDocuments() |
| Modifier and Type | Method and Description |
|---|---|
void |
WebApp.addDocuments(Set<Documentation> documents) |
void |
WebApp.removeDocuments(Set<Documentation> documents) |
Copyright © 2017 WSO2. All rights reserved.