code: function (identifier, data, config, cb) {
              var path = api.getPath(baseURL, identifier, detailsActionPath);
              api.post(path, data, config, cb);
          }
docs: This request is to add details as custom properties to an alert in Opsgenie.
  
  One of id, tinyId or alias parameters should be specified with add details 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, details param is mandatory for this request. This param should specify key-value pairs to be added as extra properties to the alert.
  Example details params:
  details : { key1 : "value1", key2 : "value2" }