Edoardo Zuliani
10e3e120e4
api eliminazione lista
2025-01-02 14:54:11 +01:00
Edoardo Zuliani
369160682d
fix api
2025-01-02 14:07:00 +01:00
Edoardo Zuliani
66e2ba45ca
fix api
2025-01-02 14:04:52 +01:00
Edoardo Zuliani
9a5995970b
fix api
2025-01-02 14:01:47 +01:00
Edoardo Zuliani
c289ef2ef7
fix api
2025-01-02 12:51:48 +01:00
Edoardo Zuliani
0f602b563b
modifiche
2024-12-27 18:09:26 +01:00
Phil Young
fdfc656aa8
Add Account Role Listings ( #198 )
...
I want to list the roles availablew in an account so I can add a member
to the account
2021-10-13 14:40:33 +11:00
Phil Young
5024c2ab53
Add Zone Subscription Creation ( #196 )
...
Consuming the tenant API requires this as a part of the provisioning
2021-10-13 14:39:47 +11:00
Phil Young
12ac2bbd76
Add Account Id To Zone Creation ( #195 )
2021-10-13 14:31:32 +11:00
Phil Young
99d8cfb71c
Add Account Member Listing ( #194 )
2021-10-11 11:42:54 +11:00
Phil Young
bf796b9ec8
Add Account Member Creation ( #192 )
...
We can now create account members threough the SDK
2021-10-01 10:19:15 +10:00
Phil Young
7f72427fa1
Add Account Creation ( #191 )
...
This is used on the tenant API but is currently undocumented on the main
documentation
2021-10-01 10:16:27 +10:00
Phil Young
ba875c32ca
Update tests/Endpoints/CustomHostnamesTest.php
2021-06-22 16:21:55 +01:00
Phil Young
1b80a3bae7
Update tests/Endpoints/CustomHostnamesTest.php
2021-06-22 12:21:59 +01:00
Phil Young
f88a145785
Update tests/Endpoints/CustomHostnamesTest.php
2021-06-22 12:05:30 +01:00
Phil Young
bfb24200d5
Merge branch 'master' into 179-missing-support-for-custom-hostname-update-properties
2021-06-22 11:32:02 +01:00
Phil Young
63b11374f2
Move SSL Setting To An Array
...
This will match the add function and help with PHPMD errors
2021-06-22 11:13:53 +01:00
Phil Young
410b8bebff
Merge remote-tracking branch 'origin' into 179-missing-support-for-custom-hostname-update-properties
2021-06-22 11:06:10 +01:00
Phil Young
dfbc5a10d2
Revert "Revert "Move An LoC""
...
This reverts commit 969fc8cb59 .
2021-06-22 11:01:09 +01:00
Phil Young
969fc8cb59
Revert "Move An LoC"
...
This reverts commit ed822d19ff .
2021-06-22 10:57:05 +01:00
Phil Young
a281dd11e7
Merge branch '177-missing-support=for=custom-hostname-properties' of github.com:phily245/cloudflare-php into 177-missing-support=for=custom-hostname-properties
2021-06-22 10:52:32 +01:00
Phil Young
ed822d19ff
Move An LoC
...
I needed to trigger a github action after a network timeout
2021-06-22 10:51:41 +01:00
Phil Young
3e605dfa53
Merge branch 'master' into 177-missing-support=for=custom-hostname-properties
2021-06-22 10:44:00 +01:00
Phil Young
d9958973e0
Appease PHPMD
...
This was a good spot, as I can reuse this declaration in another PR
2021-06-22 10:42:20 +01:00
Phil Young
fd34eaf813
Move The Custom SSL To An Array
...
This kinda kicks the can down the road, but allows me to appease PHPMD
(for now)
2021-06-22 10:34:28 +01:00
Phil Young
be886c36cb
Correct Some Bad Spacing
...
This was my bad
2021-06-22 10:07:14 +01:00
Phil Young
5394ec3cc8
Add Cuystom Hostname Fallback Origin Retrieval
...
I would like to surface this endpoint via the SDK
2021-06-15 13:55:41 +01:00
Phil Young
f8124e76cb
Shorten Longer Lines
...
The properties I've added have made these some pretty long lines
2021-06-15 11:12:37 +01:00
Phil Young
da3d10c4ee
Add More Properties To Custom Hostname Updating
...
These are documented but not provided by the SDK
2021-06-15 11:10:23 +01:00
Phil Young
f473e5f73c
Correct A Request Parameter Namespace
...
This wasn't taking affect before as it wasn't in the object the API was
expecting it to be in
2021-06-15 10:52:44 +01:00
Phil Young
9955166ae8
Tidy Up Longer Method/Function Signatures/Calls
...
I've added a few new parameters which has made these lines rather long
2021-06-15 00:56:23 +01:00
Phil Young
c639f20cea
Add More Custom Hostname Creation Parameters
...
This now matches what is available as per the documentation
2021-06-15 00:49:14 +01:00
Jacob Bednarz
d2c4d225e0
suppress warnings on static access
2021-05-28 10:32:02 +10:00
Alex Palaistras
c58f340633
Adapter/Guzzle: Fix error handling for v4 API
...
This commit represents a partial overhaul of error handling for requests
made against the v4 Cloudflare API, with an aim of unifying disparate
kinds of exceptions under a single `ResponseException` type, and the
covering of additional cases where errors were unhandled. Specifically:
- The `Guzzle::request()` function will now catch Guzzle exceptions
normally thrown in cases of client and server errors (4xx and 5xx)
response codes, and convert these to `ResponseException` types
before re-throwing. These types of errors were previously not caught
and were instead returned verbatim, expecting downstream clients to
be aware of internal details of how these functions operate.
- Conversely, we no longer assume that all responses are JSON-encoded,
and no longer try to derive errors from non-4xx or 5xx responses.
All public endpoints under the v4 API are expected to be
well-behaved in that regard, and never return an error response
where none is indicated in the HTTP code.
Code has been moved around and test-cases added in support of these
changes. In most cases, these changes won't break any existing
expectations and won't require any changes to downstream code, but users
of the Cloudflare SDK should ensure that they are indeed set up for
catching `ResponseException` instances thrown during requests, and
should not expect to see Guzzle exceptions directly (though these are
still available in calls to `ResponseException::getPrevious()`).
Fixes : #152
2021-05-28 10:23:50 +10:00
Ha Phan
6d9b4ddffe
[RFR]: Added Origin CA Certificate endpoint ( #123 )
...
* Added Certificate endpoint
* Implement all calls in /certificates endpoint
* Added to travis more php versions
* Fix package compatibility
* Added CertificateTest
* Added test for Certificate endpoint
* Added more tests
* Updated README
Co-authored-by: haphan <thanhha.phan@myrepublic.net >
2020-07-07 11:19:15 +01:00
bnalonezi
fab493d2d3
Add Browser Cache TTL endpoint ( #127 )
...
Co-authored-by: bnalonezi <b.alenezi@zid.sa >
2020-07-07 11:18:40 +01:00
Constantin Cuciurcă
ffc3989607
Dns analytics report ( #121 )
...
* Add DNS Analytics report endpoint
Add DNS Analytics report endpoint
Add DNS Analytics report endpoint
* Remove useless response error test
* Add tests for DNS analytics report class methods
* Implement methods for listing grouped by time metrics report
2020-07-07 11:17:48 +01:00
bubbleupdotnet
06de5b0c04
Add custom hostname options ( #131 )
...
* Add ability to set additional SSL settings
* Add ability to specify a custom origin server
* Add ability to set wildcard
* Fix json parsing error with empty 'ssl' key
Co-authored-by: Craig Menning <craig@bubbleup.net >
2020-07-07 11:16:24 +01:00
Junade
8879ba4c0a
Merge pull request #135 from pjjonesnz/pjjonesnz-fix-mx-priority-0
...
Fix for MX with priority 0
2020-07-07 11:15:18 +01:00
Nathan S
c575b3bc9b
Replace DELETE method by POST according to the Cloudflare [documentation]( https://api.cloudflare.com/#zone-purge-all-files )
2020-06-21 14:52:11 +02:00
Paul Jones
251ab5247d
Fix for MX with priority 0
...
Author: Paul Jones <info@beyondthebox.co.nz >
Date: Sun Jun 21 07:42:38 2020 +0000
2020-06-21 07:47:06 +00:00
Junade
694342f718
Merge pull request #98 from llbbl/firewall-rules
...
Adding new Firewall rules Class
2020-02-03 17:23:45 +00:00
Junade
ca426abc32
Merge pull request #101 from ProfiCloS/feature/api-token
...
feature/api-token
2020-02-03 17:22:40 +00:00
Junade
2a83d24954
Merge pull request #102 from umbrellio/add_endpoints_zones_settings
...
add endpoint for server-side exclude setting
2020-02-03 17:22:17 +00:00
Junade
445bc30be7
Merge pull request #114 from Pezhvak/patch-1
...
Fixing fatal error in PHP 7.4
2020-02-03 17:21:31 +00:00
Pezhvak
adfb6d28d2
Update SSLTest.php
...
fixed curly braces in this file as @aaronhuisinga reported
2019-12-20 17:12:58 +03:30
Kyle Yee
9d0df44838
remove test
2019-12-16 18:02:49 +08:00
Kyle Yee
6e6a850d62
fix test case
2019-12-16 17:58:04 +08:00
Kyle Yee
b54c3481a3
fix typo in test case
2019-12-16 17:39:38 +08:00
Kyle Yee
8310111b11
Merge branch 'master' into master
2019-12-16 17:32:56 +08:00