-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from OneSignal/api
Add v2.1.0 package updates
- Loading branch information
Showing
80 changed files
with
136 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,7 +412,7 @@ $getEligibleIamsResponse = self::$apiInstance->getEligibleIams(APP_ID, '<SUBSCRI | |
|
||
## API Endpoints | ||
|
||
All URIs are relative to *https://onesignal.com/api/v1* | ||
All URIs are relative to *https://api.onesignal.com* | ||
|
||
Class | Method | HTTP request | Description | ||
------------ | ------------- | ------------- | ------------- | ||
|
@@ -551,5 +551,5 @@ requires app_key and which user_key. You can get the value of these keys from yo | |
[email protected] | ||
|
||
|
||
- API version: `1.2.2` | ||
- Package version: `2.0.2` | ||
- API version: `1.3.0` | ||
- Package version: `2.1.0` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* | ||
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com | ||
* | ||
* The version of the OpenAPI document: 1.2.2 | ||
* The version of the OpenAPI document: 1.3.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* OpenAPI Generator version: 6.0.0-SNAPSHOT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* | ||
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com | ||
* | ||
* The version of the OpenAPI document: 1.2.2 | ||
* The version of the OpenAPI document: 1.3.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* OpenAPI Generator version: 6.0.0-SNAPSHOT | ||
|
@@ -92,14 +92,14 @@ class Configuration | |
* | ||
* @var string | ||
*/ | ||
protected $host = 'https://onesignal.com/api/v1'; | ||
protected $host = 'https://api.onesignal.com'; | ||
|
||
/** | ||
* User agent of the HTTP request, set to "OpenAPI-Generator/{version}/PHP" by default | ||
* | ||
* @var string | ||
*/ | ||
protected $userAgent = 'OpenAPI-Generator/2.0.2/PHP'; | ||
protected $userAgent = 'OpenAPI-Generator/2.1.0/PHP'; | ||
|
||
/** | ||
* Debug switch (default set to false) | ||
|
@@ -430,8 +430,8 @@ public static function toDebugReport() | |
$report = 'PHP SDK (onesignal\client) Debug Report:' . PHP_EOL; | ||
$report .= ' OS: ' . php_uname() . PHP_EOL; | ||
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; | ||
$report .= ' The version of the OpenAPI document: 1.2.2' . PHP_EOL; | ||
$report .= ' SDK Package Version: 2.0.2' . PHP_EOL; | ||
$report .= ' The version of the OpenAPI document: 1.3.0' . PHP_EOL; | ||
$report .= ' SDK Package Version: 2.1.0' . PHP_EOL; | ||
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; | ||
|
||
return $report; | ||
|
@@ -471,7 +471,7 @@ public function getHostSettings() | |
{ | ||
return [ | ||
[ | ||
"url" => "https://onesignal.com/api/v1", | ||
"url" => "https://api.onesignal.com", | ||
"description" => "No description provided", | ||
] | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* | ||
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com | ||
* | ||
* The version of the OpenAPI document: 1.2.2 | ||
* The version of the OpenAPI document: 1.3.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* OpenAPI Generator version: 6.0.0-SNAPSHOT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com | ||
* | ||
* The version of the OpenAPI document: 1.2.2 | ||
* The version of the OpenAPI document: 1.3.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* OpenAPI Generator version: 6.0.0-SNAPSHOT | ||
|
Oops, something went wrong.