On Thu, Aug 20, 2015 at 7:24 PM, Sanjeewa Malalgoda <[email protected]>
wrote:
> Hi Team,
> Do you have any idea why do we append /content to document content path.
> If we go to API registry
> location(/_system/governance/apimgt/applicationdata/provider/admin/xZxZx/1.0.0/api)
> there will be association for each document.
>
> And actual document goes
> to
> /_system/governance/apimgt/applicationdata/provider/admin/xZxZx/1.0.0/documentation/bbbbbbbbbbb
>
> And if we have attachment for document it will be
> in
> /_system/governance/apimgt/applicationdata/provider/admin/xZxZx/1.0.0/documentation/files/Custo
> AMP 2015 08 10.xlsx
>
> If that is the case why do we put /content to path. Here is the code
> snippet. Please let us know if we have any reason to append it.
>
>
> public static String getAPIDocContentPath(APIIdentifier apiId, String
> documentationName) {
> return getAPIDocPath(apiId) +
> APIConstants.INLINE_DOCUMENT_CONTENT_DIR +
> RegistryConstants.PATH_SEPARATOR + documentationName;
> }
>
>
> Thanks,
> sanjeewa.
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
> <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/
> <http://sanjeewamalalgoda.blogspot.com/>
>
>
>
--
*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779
<http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/
<http://sanjeewamalalgoda.blogspot.com/>
--
*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779
<http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/
<http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev