changes.mady.by.user Former user
Saved on Jun 24, 2019
Saved on Dec 02, 2019
...
https://gateway.api.cloud.wso2.com/api/logs?region=<regon>&logType=<log-type>&date=<yyyy-mm-dd>
The following table describes the valid logType and date values that you can pass in the URL:
logType
date
Region of the gateway or the load-balancer.For example, us-east, frankfurt
Either load-balancer or gateway.
load-balancer
gateway
yyyy-mm-dd in Pacific Standard TimeFor example, 2019-03-20.
yyyy-mm-dd
Specifying a future date is not valid and will result in an unsuccessful invocation.
Content-Type: application/json Authorization: Bearer <Bearer token received by following prerequisites>
{ “archiveFileUrl” : “https://link-to-archive-file”, “validPeriodInSeconds” : 300 }
{ "message": <An error message describing the reason that caused an unsuccesful invocation> }