List Log Files

This API is used to list logs and download URLs with 1 month data sample.

1. Request Definition

  • API URL:
https://bms-api.swiftfederation.com/v1.0/logs/list/{customerId}
  • Request Method:
POST
  • Request Header:

Refer to HTTP Request Headers

  • Request Body:

Request Body Data Format: JSON

Field Required Type Description
month Mandatory string month. Format yyyy-MM.
  • Request Body Example
{
    "month": "2020-05"
 }


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
domain string Name of hostname.
logs Log[] List of log file URLs.
ReqNumber Definition
timestamp string Format yyyy-MM-ddTHH:mm:ssZ UTC time. E.g. 2020-05-01T00:00:00Z
values LogFile[] Array of log download URL.
LogFile Definition
name string Log file name.
url string Log file download url. Format: /download/{nodeId}/{date}/{date}.log.gz
size long Log file size, unit is byte.
data of url file Definition
timestamp string timestamp. UTC time Format:2023-05-01 04:40:00
bandwidth Number bandwidth (bps) of nodeId at sport time.
  • Response Body Example
[
    {
        "domain": "bma01.cn03.swiftserve.com",
        "logs": [
            {
                "timestamp": "2020-05-27T00:00:00Z",
                "values": [
                    {
                        "name": "20200527.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/52/202005/20200527.log.gz",
                        "size": 2105
                    }
                ]
            },
            {
                "timestamp": "2020-05-28T00:00:00Z",
                "values": [
                    {
                        "name": "20200528.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/52/202005/20200528.log.gz",
                        "size": 2093
                    }
                ]
            },
            {
                "timestamp": "2020-05-29T00:00:00Z",
                "values": [
                    {
                        "name": "20200529.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/52/202005/20200529.log.gz",
                        "size": 2095
                    }
                ]
            },
            {
                "timestamp": "2020-05-30T00:00:00Z",
                "values": [
                    {
                        "name": "20200530.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/52/202005/20200530.log.gz",
                        "size": 2099
                    }
                ]
            },
            {
                "timestamp": "2020-05-31T00:00:00Z",
                "values": [
                    {
                        "name": "20200531.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/52/202005/20200531.log.gz",
                        "size": 2095
                    }
                ]
            }
        ]
    },
    {
        "domain": "bma01.cn02.swiftserve.com",
        "logs": [
            {
                "timestamp": "2020-05-27T00:00:00Z",
                "values": [
                    {
                        "name": "20200527.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/51/202005/20200527.log.gz",
                        "size": 2170
                    }
                ]
            },
            {
                "timestamp": "2020-05-28T00:00:00Z",
                "values": [
                    {
                        "name": "20200528.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/51/202005/20200528.log.gz",
                        "size": 2166
                    }
                ]
            },
            {
                "timestamp": "2020-05-29T00:00:00Z",
                "values": [
                    {
                        "name": "20200529.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/51/202005/20200529.log.gz",
                        "size": 2172
                    }
                ]
            },
            {
                "timestamp": "2020-05-30T00:00:00Z",
                "values": [
                    {
                        "name": "20200530.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/51/202005/20200530.log.gz",
                        "size": 2166
                    }
                ]
            },
            {
                "timestamp": "2020-05-31T00:00:00Z",
                "values": [
                    {
                        "name": "20200531.log.gz",
                        "url": "https://bms-dl.swiftfederation.com/download/51/202005/20200531.log.gz",
                        "size": 2172
                    }
                ]
            }
        ]
    }
]
           Updated 2023-06-06 10:41:33

results matching ""

    No results matching ""