lib/alertV2/AlertV2.js
function (identifier, data, config, cb) {
            var path = api.getPathWithData(baseURL, identifier, listLogsPath, data);
            api.get(path, config, cb);
        }
function (identifier, data, config, cb) {
            var path = api.getPathWithData(baseURL, identifier, listLogsPath, data);
            api.get(path, config, cb);
        }
This request is to list logs of an alert in Opsgenie.

One of id, tinyId or alias parameters should be specified with list alert logs request as identifier.
Alias option can only be used for open alerts
example identifier objects:
{identifier : "123", identifierType : "tiny"}
{identifier : "123-23-123", identifierType : "id"}
{identifier : "alertAlias", identifierType : "alias"}

Also, extra query parameters can be provided to customize the result of this request. See docs for further details:
https://www.opsgenie.com/docs/rest-api/alert-api#listAlertLogs

You can also check /samples/alertV2/listLogs.js for an example.