diff --git a/.devcontainer/_config.yml b/.devcontainer/_config.yml new file mode 100644 index 00000000..f8cf0b94 --- /dev/null +++ b/.devcontainer/_config.yml @@ -0,0 +1,65 @@ +# Site settings +title: Development containers +description: > + Development containers documentation and specification page. + +# baseurl: / # the subpath of your site, e.g. /blog/ +url: https://devcontainers.github.io # the base hostname & protocol for your site +git_address: https://github.com/devcontainers/devcontainers.github.io +git_edit_address: https://github.com/devcontainers/devcontainers.github.io/settings/pages/blob/gh-pages +theme_color: 2753E3 + +# Build settings +markdown: kramdown +highlighter: rouge + +plugins: + - github-pages + - jemoji + - jekyll-feed + + +exclude: + - Gemfile + - Gemfile.lock + - .idea/ + - .gitignore + - README.md + - resources + +timezone: Europe/Zurich + +defaults: +- scope: + path: _posts + type: posts + values: + layout: post + sectionid: guide + +- scope: + path: _docs + type: docs + values: + layout: docs + sectionid: docs + seo: + type: "WebPage" + +- scope: + path: _implementors + type: implementors + values: + layout: implementors + sectionid: implementors + +collections: + docs: + permalink: /:collection/:path/ + output: true + posts: + permalink: /guide/:title + output: true + implementors: + permalink: /:collection/:path/ + output: true diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..ad93c14a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + } +} diff --git a/Create b/Create new file mode 100644 index 00000000..29647139 --- /dev/null +++ b/Create @@ -0,0 +1,5 @@ +$key = new Cloudflare\API\Auth\APIKey('user@example.com', 'apiKey'); +$adapter = new Cloudflare\API\Adapter\Guzzle($key); +$user = new Cloudflare\API\Endpoints\User($adapter); + +echo $user->getUserID(); diff --git a/Test b/Test new file mode 100644 index 00000000..570b6dae --- /dev/null +++ b/Test @@ -0,0 +1,4 @@ +curl --request GET \ + --url https://api.cloudflare.com/client/v4/accounts/account_id/devices/dex_tests \ + --header 'Content-Type: application/json' \ + --header 'X-Auth-Email: '