Skip to content

Commit 6d0a4e0

Browse files
committed
Aliasing requestUrl -> request_url.
1 parent 959a489 commit 6d0a4e0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/userguide/CDN/USERGUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This operation takes one parameter, an associative array, with the following key
123123
| `caching[n]['rules']` | List of rules that determine if this TTL should be applied to an asset. | Array of associative arrays | No | `null` | `array( ... )` |
124124
| `caching[n]['rules'][n]` | Information about a TTL rule. | Associative array | No | `null` | `array( ... )` |
125125
| `caching[n]['rules'][n]['name']` | A human-readable name of the TTL rule. | No | `null` | `images` |
126-
| `caching[n]['rules'][n]['request_url']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
126+
| `caching[n]['rules'][n]['requestUrl']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
127127
| `restrictions` | List of restrictions on who can access new service. | Array of associative arrays | No | `null` | `array( ... )` |
128128
| `restrictions[n]` | Information about an access restriction. | Associative array | No | `null` | `array( ... )` |
129129
| `restrictions[n]['name']` | A human-readable name of the restriction. | String | No | `null` | `affiliate_sites_only` |
@@ -199,15 +199,15 @@ This operation takes one parameter, an associative array, with the following key
199199
| `origins[n]['origin']['rules']` | List of rules defining the conditions when this origin should be accessed. | Array of associative arrays | No | `null` | `array( ... )` |
200200
| `origins[n]['origin']['rules'][n]` | Information about an access rule. | Associative array | No | `null` | `array( ... )` |
201201
| `origins[n]['origin']['rules'][n]['name']` | A human-readable name of the rule. | String | No | `null` | `images` |
202-
| `origins[n]['origin']['rules'][n]['request_url']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
202+
| `origins[n]['origin']['rules'][n]['requestUrl']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
203203
| `caching` | List of TTL rules for assets of this service. | Array of associative arrays | No | `null` | `array( ... )` |
204204
| `caching[n]` | Information about a TTL rule. | Associative array | No | `null` | `array( ... )` |
205205
| `caching[n]['name']` | A human-readable name of the TTL rule. | String | No | `null` | `long_ttl` |
206206
| `caching[n]['ttl']` | The TTL value, in seconds. | Integer | No | `null` | `604800` |
207207
| `caching[n]['rules']` | List of rules that determine if this TTL should be applied to an asset. | Array of associative arrays | No | `null` | `array( ... )` |
208208
| `caching[n]['rules'][n]` | Information about a TTL rule. | Associative array | No | `null` | `array( ... )` |
209209
| `caching[n]['rules'][n]['name']` | A human-readable name of the TTL rule. | No | `null` | `images` |
210-
| `caching[n]['rules'][n]['request_url']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
210+
| `caching[n]['rules'][n]['requestUrl']` | The request URL this rule should match (regex supported). | String | No | `null` | `^/images/.+$` |
211211
| `restrictions` | List of restrictions on who can access new service. | Array of associative arrays | No | `null` | `array( ... )` |
212212
| `restrictions[n]` | Information about an access restriction. | Associative array | No | `null` | `array( ... )` |
213213
| `restrictions[n]['name']` | A human-readable name of the restriction. | String | No | `null` | `affiliate_sites_only` |

lib/OpenCloud/CDN/Resource/Service.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class Service extends PersistentResource
4545

4646
protected $aliases = array(
4747
'flavor_id' => 'flavorId',
48-
'http_host' => 'httpHost'
48+
'http_host' => 'httpHost',
49+
'request_url' => 'requestUrl'
4950
);
5051

5152
protected $createKeys = array(

0 commit comments

Comments
 (0)