1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00

ovh-us: changing URL

Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
This commit is contained in:
Romain Beuque 2018-06-12 10:29:29 +02:00
parent 69f2347e2e
commit 90b95788b3
No known key found for this signature in database
GPG Key ID: 09115AFC5E9A5339
2 changed files with 9 additions and 1 deletions

View File

@ -249,6 +249,14 @@ Supported APIs
* Create application credentials: https://eu.api.ovh.com/createApp/ * Create application credentials: https://eu.api.ovh.com/createApp/
* Create script credentials (all keys at once): https://eu.api.ovh.com/createToken/ * Create script credentials (all keys at once): https://eu.api.ovh.com/createToken/
## OVH US
* ```$endpoint = 'ovh-us';```
* Documentation: https://api.ovhcloud.com/
* Console: https://api.ovhcloud.com/console
* Create application credentials: https://api.ovhcloud.com/createApp/
* Create script credentials (all keys at once): https://api.ovhcloud.com/createToken/
## OVH North America ## OVH North America
* ```$endpoint = 'ovh-ca';``` * ```$endpoint = 'ovh-ca';```

View File

@ -55,7 +55,7 @@ class Api
private $endpoints = [ private $endpoints = [
'ovh-eu' => 'https://eu.api.ovh.com/1.0', 'ovh-eu' => 'https://eu.api.ovh.com/1.0',
'ovh-ca' => 'https://ca.api.ovh.com/1.0', 'ovh-ca' => 'https://ca.api.ovh.com/1.0',
'ovh-us' => 'https://api.ovh.us/1.0', 'ovh-us' => 'https://api.ovhcloud.com/1.0',
'kimsufi-eu' => 'https://eu.api.kimsufi.com/1.0', 'kimsufi-eu' => 'https://eu.api.kimsufi.com/1.0',
'kimsufi-ca' => 'https://ca.api.kimsufi.com/1.0', 'kimsufi-ca' => 'https://ca.api.kimsufi.com/1.0',
'soyoustart-eu' => 'https://eu.api.soyoustart.com/1.0', 'soyoustart-eu' => 'https://eu.api.soyoustart.com/1.0',